aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
author5 <notzed@helixcode.com>2000-05-05 15:28:20 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-05 15:28:20 +0800
commit022c7ab1f28ac677a60cbffa54be28e3272f1c2d (patch)
tree78c6c3858166812bbe3728e27d0677fba0e9c1b8 /camel/camel-folder-summary.c
parent4a6a526998c160dd1fd8353cee2532206bb36c8e (diff)
downloadgsoc2013-evolution-022c7ab1f28ac677a60cbffa54be28e3272f1c2d.tar
gsoc2013-evolution-022c7ab1f28ac677a60cbffa54be28e3272f1c2d.tar.gz
gsoc2013-evolution-022c7ab1f28ac677a60cbffa54be28e3272f1c2d.tar.bz2
gsoc2013-evolution-022c7ab1f28ac677a60cbffa54be28e3272f1c2d.tar.lz
gsoc2013-evolution-022c7ab1f28ac677a60cbffa54be28e3272f1c2d.tar.xz
gsoc2013-evolution-022c7ab1f28ac677a60cbffa54be28e3272f1c2d.tar.zst
gsoc2013-evolution-022c7ab1f28ac677a60cbffa54be28e3272f1c2d.zip
Plug a memory leak. (header_decode_text): Fixed memory leaks with
2000-05-05 <notzed@helixcode.com> * camel-mime-utils.c (header_decode_mailbox): Plug a memory leak. (header_decode_text): Fixed memory leaks with g_string_append(). (header_encode_string): And here too, and a few other places. The glib api is so awful ... (header_content_type_decode): More memory leaks, more left ... 2000-05-05 <notzed@helixcode.com> * camel-mime-parser.c (folder_scan_init_with_fd): Make sure we init the end of buffer sentinal! (folder_scan_init_with_stream): And here too ... svn path=/trunk/; revision=2810
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index bb3857ee39..6d8946ce12 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -35,6 +35,10 @@
#define d(x)
+#if 1
+extern int strdup_count, malloc_count, free_count;
+#endif
+
#define CAMEL_FOLDER_SUMMARY_VERSION (3)
struct _CamelFolderSummaryPrivate {
@@ -1049,7 +1053,6 @@ int main(int argc, char **argv)
CamelFolderSummary *s;
char *buffer;
int len;
- extern int strdup_count, malloc_count, free_count;
gtk_init(&argc, &argv);
@@ -1095,10 +1098,11 @@ int main(int argc, char **argv)
}
}
printf("summarised %d messages\n", camel_folder_summary_count(s));
-
+#if 0
printf("g_strdup count = %d\n", strdup_count);
printf("g_malloc count = %d\n", malloc_count);
printf("g_free count = %d\n", free_count);
+#endif
return 0;
}