diff options
Diffstat (limited to 'media-libs/netpbm/files/netpbm-10.51.00-ppmtompeg-free.patch')
-rw-r--r-- | media-libs/netpbm/files/netpbm-10.51.00-ppmtompeg-free.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/media-libs/netpbm/files/netpbm-10.51.00-ppmtompeg-free.patch b/media-libs/netpbm/files/netpbm-10.51.00-ppmtompeg-free.patch deleted file mode 100644 index 0c1e48549b1b..000000000000 --- a/media-libs/netpbm/files/netpbm-10.51.00-ppmtompeg-free.patch +++ /dev/null @@ -1,35 +0,0 @@ -fix from upstream - ------------------------------------------------------------------------- -r1285 | giraffedata | 2010-09-18 16:13:39 -0400 (Sat, 18 Sep 2010) | 1 line - -Fix free of non-allocated memory - -Index: converter/ppm/ppmtompeg/param.c -=================================================================== ---- converter/ppm/ppmtompeg/param.c (revision 1284) -+++ converter/ppm/ppmtompeg/param.c (revision 1285) -@@ -283,8 +283,8 @@ GetFrameRate(const char * const p) - - - static void --mergeInputSource(struct inputSource * const baseSourceP, -- struct inputSource * const addedSourceP) { -+mergeInputSource(struct inputSource * const baseSourceP, -+ const struct inputSource * const addedSourceP) { - - unsigned int i; - -@@ -294,12 +294,6 @@ mergeInputSource(struct inputSource * co - for (i = 0; i < addedSourceP->numInputFileEntries; ++i) - baseSourceP->inputFileEntries[baseSourceP->numInputFileEntries++] = - addedSourceP->inputFileEntries[i]; -- -- free(addedSourceP); -- /* Note the space allocated for the *addedSourceP input file -- entries themselves is still allocated, and used by -- *baseSourceP. -- */ - } - - |