summaryrefslogtreecommitdiff
path: root/games-arcade/abe/files/abe-1.1-doublefree.patch
blob: 82d49031844c774eb606a622cd8627327e603490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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