You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-arcade/abe/files/abe-1.1-doublefree.patch

14 lines
267 B

Fix a double free() bug. Sent upstream 15 Mar 2011:
https://sourceforge.net/p/abe/patches/1/
--- a/src/Main.c
+++ b/src/Main.c
@@ -35,8 +35,6 @@
for(i = 0; modes[i]; ++i)
printf("\t%d x %d\n", modes[i]->w, modes[i]->h);
}
-
- free(modes);
}
void