Fix memory leak.

master
Kim Woelders 10 years ago
parent 18625ec515
commit 8c5be8b468
  1. 5
      viewer.c

@ -668,9 +668,9 @@ create_list_window(void)
printf("buf(%d): %s\n", j, buf);
#endif
if (j < 3)
continue;
goto next;
if (strcmp(event, "KeyDown"))
continue;
goto next;
params = buf + len;
#if DEBUG > 0
@ -694,6 +694,7 @@ create_list_window(void)
gtk_clist_append(GTK_CLIST(clist), (char **)stuff);
real_rows++;
next:
g_free(buf);
}
g_free(msg);

Loading…
Cancel
Save