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.gz
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;
}
BASErafan2006-12-091-0/+1 * - Fix Buildmiwi2006-12-091-1/+1 * This package used to extract the revision and file informationmiwi2006-12-075-0/+64 * Reset asa@agava.com after several months of inactivity and no response tolinimon2006-12-062-2/+2 * - Update to 1.2.7sat2006-12-065-610/+793 * - Update to 8.15.3miwi2006-12-067-32/+595 * - Update to 1.5.0miwi2006-12-067-83/+31 * - Deprecateerwin2006-12-051-0/+3 * - Deprecateerwin2006-12-051-0/+3 * - Deprecateerwin2006-12-051-0/+3 * Correct path to Compress::Zlib.pm after recent p5-Compress-Zlib update.demon2006-12-031-1/+1 * - Update to current snapshot (should fix compatiblity problems with the newstas2006-12-031-4/+10 * - Update to 2.12rafan2006-11-292-4/+4 * - Respect X11BASEmiwi2006-11-282-6/+15 * Make it compatible with a nonstandard X11BASE (untested).jmz2006-11-241-4/+2 * - Update to 2.4.3pav2006-11-243-13/+10 * Remove expired leaf port:vd2006-11-225-57/+0 * - Update to 3.6.2miwi2006-11-167-85/+18 * - Do not overwrite configuration file. Bump PORTREVISIONrafan2006-11-142-13/+23 * - Do not install t1asm, depending on print/t1utils instead.rafan2006-11-132-3/+5 * Remove expired ports:vd2006-11-094-40/+0 * Mark BROKEN and DEPRECATED, the project was born dead.ale2006-11-081-0/+4 * - Marked BROKEN on FreeBSD 7 as it doesn't compile.alepulver2006-11-081-6/+23 * Update my email address in all ports that I maintain.laszlof2006-11-071-1/+1 * Update to 2.1.2 release.ale2006-11-072-4/+4 * - Update to 20061031acm2006-11-072-4/+4 * - Update to 20061031acm2006-11-073-8/+17 * PDF generation using only PHP, without requiring any external libraries.miwi2006-11-064-0/+32 * - Update to 1.3.3.4miwi2006-11-066-176/+194 * INSTALLS_SHLIB -> USE_LDCONFIG.mezz2006-11-051-1/+2 * -INSTALLS_SHLIB -> USE_LDCONFIG.[1]mezz2006-11-051-2/+4 * - Some tweaks, no patch requiredrafan2006-11-033-26/+13 * Update to 2.1.1 release.ale2006-11-012-5/+4 * Update to 7.0.0p3 release and make it fetchable again.ale2006-11-012-5/+5 * - Pass maintainership to submittermiwi2006-11-011-1/+1 * - Update to 4.7.0rafan2006-10-313-31/+39 * GSPdf is a Postscript and Pdf Viewer for GNUstep.dinoex2006-10-315-0/+56 * - Update to 2.11rafan2006-10-312-4/+4 * - Update to 20061010acm2006-10-205-8/+164 * Restore major 7.0.0p1 PORTVERSION to make scripts happy.ale2006-10-161-4/+3 * Fix fetching.ale2006-10-151-2/+3 * Update to 7.0.0p1 release and make it fetchable again.ale2006-10-152-5/+5 * Correct a typo when WITH_CJK is defined.marcus2006-10-151-2/+2 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-147-15/+73 * Presenting GNOME 2.16.1 for FreeBSD. This release represents a massivemarcus2006-10-1412-160/+113 * - Unbreakerwin2006-10-121-7/+9 * Deprecate port.shaun2006-10-101-0/+3 * Chase pdf library and bump PORTREVISION.ale2006-10-092-3/+4 * Update to 7.0.0 release.ale2006-10-094-11/+11 * - Update to 20061004acm2006-10-093-17/+15 * Update to 2.1.0 release.ale2006-10-082-4/+4 * - Update to 1.4.2pav2006-10-083-370/+396 * - Update to 2.4.2pav2006-10-043-15/+14 * - update from 0.9.11 to 1.6.7;bsam2006-09-2820-738/+350 * - Update to 4.12.27rafan2006-09-262-4/+4 * - Update to 20060922acm2006-09-255-8/+54 * - Update to 20060919acm2006-09-252-4/+4 * Update localized Adobe Reader to 7.0.8.hrs2006-09-2315-35/+66 * Update to 0.29a.tobez2006-09-223-5/+6 * - Fix pkg-plistrafan2006-09-211-1/+1 * - Move CJK specific maps into recommended directoryrafan2006-09-162-4/+4 * - Update to 2.10rafan2006-09-154-4/+11 * - Update to 4.10.0rafan2006-09-144-29/+30 * - Update to 20060911acm2006-09-133-5/+4 * Add pkpgcounter 2.00, A generic Page Description Language parser.rafan2006-09-126-0/+125 * - Update to 4.2.26miwi2006-09-122-4/+4 * - Remove := magic in BUILD_DEPENDSrafan2006-09-101-26/+36 * Add $TEXMF/fonts/map// to the tail of updmap(1)'s search pathhrs2006-09-092-13/+22 * - Add OPTIONS, allow users to decide if they want examples and manpages.rafan2006-09-094-5/+164 * - Update to 20060822pav2006-09-075-36/+41 * Update to 2.1hq2006-09-072-7/+7 * Make sure ${prefix} gets expanded properly.lofi2006-09-071-0/+4 * - Update to 20060822acm2006-09-062-4/+4 * Reset inactive maintainer. Also mark these ports as DEPRECATED since nolinimon2006-09-051-1/+4 * Reset inactive maintainer who has not responded to email.linimon2006-09-051-1/+1 * Reset inactive maintainer who has not responded to email.linimon2006-09-041-1/+1 * Update to 2.0.5 release.ale2006-09-042-4/+4 * NO_CDROM and NO_PACKAGE are superfluous here; remove them.kris2006-09-031-3/+4 * NO_PACKAGE is unnecessary since redistribution is prevented by RESTRICTEDkris2006-09-031-1/+0 * Schedule these ignored ports for termination on 2006-12-01kris2006-09-0312-0/+24 * Chase net/samba to net/samba3 in preparation for removal of the former.kris2006-09-031-1/+1 * Schedule these broken ports for termination on 2006-12-01kris2006-09-031-0/+2 * Switch dependency from net/samba to net/samba3 since the formervd2006-08-251-2/+2 * - Update to 20060822acm2006-08-235-30/+293 * Fix another 2.1.x mismerge that caused a crash parsing certain pcf fonts.marcus2006-08-232-12/+23 * Correct patches for freetype2-2.1.x.marcus2006-08-232-31/+29 * Add patches to correct the security issues described in CVE-2006-3467.marcus2006-08-233-1/+506 * Fix MASTER_SITES.hrs2006-08-221-1/+1 * Chase a silent update and make fetchable again (the tutorial has beenthierry2006-08-222-4/+4 * - Define USE_GETTEXT, bump PORTREVISIONrafan2006-08-151-0/+2 * - Remove directories that are not in mtree filerafan2006-08-152-0/+18 * - s,INSTALLS_SHLIB,USE_LDCONFIG,gclsung2006-08-1514-14/+14 * Tune the BROKEN finer -- it seems to affect the i386-current only.mi2006-08-155-5/+5 * Submit to Kris' insistence and mark BROKEN on -current. c++ gives up themi2006-08-155-0/+10 * Add advi 1.6.0, active-DVI viewer.rafan2006-08-157-0/+101 * - Respect DESTDIRrafan2006-08-131-9/+9 * - Fix pkg-plistmiwi2006-08-111-11/+0 * - Change to use MASTER_SITE_RUBYFORGE macro to fix fetch problem.jmelo2006-08-082-2/+4 * - update to 1.2.2 [1]itetcu2006-08-063-5/+2 * - update to 1.2.2 [1]itetcu2006-08-066-392/+539 * - try to catch if AFPL version of Ghostscript is used and warn the use it won'titetcu2006-08-061-4/+8 * - Update to 20060804acm2006-08-052-4/+4 * Add support for DESTDIR part I.erwin2006-08-041-1/+1 * Update to 7.0.8.hrs2006-08-024-14/+127 * Update to version 4.12.23itetcu2006-08-022-4/+4 * - Update to 20060723acm2006-07-246-10/+31 * Change maintainer address to my @FreeBSD.org emailacm2006-07-233-3/+3 * Reset bouncing maintainer address ip@doom.homeunix.org. We hope to see himlinimon2006-07-221-1/+1 * - Update to 2.0.1rafan2006-07-212-4/+5 * - Update to 4.12.22rafan2006-07-202-4/+4 * Fix WITHOUT_X11 support.hrs2006-07-191-6/+9 * Upgrade from 1.4.1 to 1.4.2 -- a recommended "maintainance" release.mi2006-07-1415-75/+70 * - - Update to 20060625clsung2006-07-142-4/+4 * Update to 4.12.21erwin2006-07-112-4/+4 * Update to new version 7.2.8andreas2006-07-104-5/+21 * - Fix build on sparc64ahze2006-07-092-8/+4 * EasyLatex is a preprocessor which takes an input file in "pseudo-latex",garga2006-07-075-0/+85 * Chase gnutls shlib version change.novel2006-07-071-1/+1 * Change all bogus uses of BROKEN to IGNORE. See CHANGES 20060705.linimon2006-07-051-1/+1 * Mark as BROKEN on sparc64: fails to compile.linimon2006-07-031-1/+7 * fix acroread dependency after recent changes to the acrobat reader'sandreas2006-07-022-3/+3 * Fix a bug that dvipdfmx confuses 'wh' and 'bk' of tpic special.matusita2006-07-022-1/+27 * - Add missing dependencyrafan2006-06-301-1/+2 * Convert BUILD_DEPENDS on lang/gcc41 to a LIB_DEPENDS, since pdftk is dynamicallystefan2006-06-301-1/+2 * Fix dependency and installation directory.hrs2006-06-302-9/+8 * - Add dependency on print/cm-super.hrs2006-06-301-1/+2 * - Replace symlinks to CM Type 1 font files with ones to thehrs2006-06-302-174/+12 * - Use consistent installation directories.hrs2006-06-306-278/+284 * - Fix longstanding bugs in updmap(1) which prevent it fromhrs2006-06-305-8/+293 * New port: print/cm-superhrs2006-06-305-0/+967 * Add p5-PDF-Template 0.22, PDF layout system that uses the same datarafan2006-06-295-0/+101 * Starting with version 1.2.0 CUPS implements the "RunAsOption" no longer.itetcu2006-06-291-1/+2 * Fix a typo which resulted in the TEXINPUTS variable not beeing exported.jmz2006-06-281-2/+2 * Change to my FreeBSD.org email.rafan2006-06-273-3/+3 * Update to 11.83. Changes include:hrs2006-06-263-6/+9 * - Unbreak on 6.x (with a patch to please gcc)johans2006-06-262-4/+23 * - MAN3PREFIX is implied when PERL_CONFIGURE is defined.clsung2006-06-261-1/+0 * Update to version 1.3.3.2markus2006-06-256-8/+234 * Update to 1.16miwi2006-06-252-4/+4 * * Fixes problems with updating CUPS installation (Udo Schweigert)itetcu2006-06-242-5/+8 * Distfile rerolled, for the third time in 48 hours (small comments changed)itetcu2006-06-242-4/+4 * Update to 4.12.19erwin2006-06-242-7/+16 * - Depend on cups-base instead of cups-lpr if WITH_CUPS is definedahze2006-06-231-1/+1 * - update to current releaseitetcu2006-06-233-18/+4 * - Remove depends on cups-lprahze2006-06-231-1/+0 * - Remove cups-lpr, it has been merged in to print/cups-baseahze2006-06-2310-369/+0 * Disconnect print/cups-lpr from the build, since it breaks INDEX.cperciva2006-06-231-1/+0 * - Update to 1.2.0ahze2006-06-2316-1004/+974 * - Update to 20060618pav2006-06-203-4/+20