[PATCH] : small memory leak
- From: Emmanuel <e allaud wanadoo fr>
- To: ML de Balsa <balsa-list gnome org>
- Subject: [PATCH] : small memory leak
- Date: Thu, 22 Aug 2002 10:08:46 -0400
Hi all,
here is a one-liner to correct a memory leak in filter code found by Peter.
Bye
Manu
diff -u /home/manu/prog/balsa-cvs/balsa/libbalsa/filter-funcs.c balsa/libbalsa/filter-funcs.c
--- /home/manu/prog/balsa-cvs/balsa/libbalsa/filter-funcs.c Tue Jun 11 02:30:54 2002
+++ balsa/libbalsa/filter-funcs.c Thu Aug 22 10:03:44 2002
@@ -48,6 +48,7 @@
g_free(reg->string);
if (reg->compiled)
regfree(reg->compiled);
+ g_free(reg);
} /* end condition_regex_free() */
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]