patch to fix memory leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch by Takashi Iwai <tiwai@xxxxxxx> to fix a memory leak.

--- src/fccfg.c-dist	2006-01-31 19:41:12.000000000 +0100
+++ src/fccfg.c	2006-01-31 19:41:37.000000000 +0100
@@ -1849,6 +1849,7 @@ FcConfigAppFontAddFile (FcConfig    *con
 	}
 	FcStrListDone (sublist);
     }
+    FcStrSetDestroy (subdirs);
     return FcTrue;
 }
 
@@ -1896,6 +1897,7 @@ FcConfigAppFontAddDir (FcConfig	    *con
 	}
 	FcStrListDone (sublist);
     }
+    FcStrSetDestroy (subdirs);
     return FcTrue;
 }
 
-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux