Skip to content

Commit

Permalink
Merge pull request kanjitalk755#196 from schinkelg/master
Browse files Browse the repository at this point in the history
Small leaks / bug fixes
  • Loading branch information
kanjitalk755 authored Mar 30, 2024
2 parents 979523b + 076390e commit 293ef33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BasiliskII/src/Unix/Linux/etherhelpertool.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int main_loop(int sd, int use_bpf)

outgoing = malloc(blen);
if (outgoing == NULL) {
free(outgoing);
free(incoming);
fprintf(stderr,
"%s: malloc() failed.\n",
exec_name);
Expand Down
2 changes: 1 addition & 1 deletion BasiliskII/src/Unix/video_x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2356,10 +2356,10 @@ static void update_display_dynamic(int ticker, driver_window *drv)
y2s = sm_uptd[ticker % 8];
y2a = 8;
for (i = 0; i < 6; i++) {
max_box = sm_no_boxes[i];
if (ticker % (2 << i))
break;
}
max_box = sm_no_boxes[i];

if (y2a) {
for (y1=0; y1<16; y1++) {
Expand Down

0 comments on commit 293ef33

Please sign in to comment.