aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-11-07 09:19:27 +0800
committerPeter Williams <peterw@src.gnome.org>2000-11-07 09:19:27 +0800
commit66b85f364e12a4c94faccb08906b48a9ac1452f5 (patch)
treebb28b0edcc699d3e7ae4397cd42775212eccbd23 /composer
parent1359e56e8435dfbce8dc5c5bfc7a3d3b65e4e3e1 (diff)
downloadgsoc2013-evolution-66b85f364e12a4c94faccb08906b48a9ac1452f5.tar.gz
gsoc2013-evolution-66b85f364e12a4c94faccb08906b48a9ac1452f5.tar.zst
gsoc2013-evolution-66b85f364e12a4c94faccb08906b48a9ac1452f5.zip
Two segfault fixes
svn path=/trunk/; revision=6472
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer-attachment-bar.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index a64ac15f41..057fcc3054 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -42,6 +42,12 @@
* Makefile.am: Clean the idl-generated files properly.
+2000-11-02 Peter Williams <peterw@helixcode.com>
+
+ * e-msg-composer-attachment-bar.c (attach_to_multipart): CamelStreamMem
+ steals our byte array; we can't destroy the byte array explicitly, and
+ we must unref the stream only when done using the array.
+
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Don't create
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index 07debafdd0..1b6d2232a4 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -706,7 +706,6 @@ attach_to_multipart (CamelMultipart *multipart,
array = g_byte_array_new ();
stream = camel_stream_mem_new_with_byte_array (array);
camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (attachment->body), stream);
- camel_object_unref (CAMEL_OBJECT (stream));
g_byte_array_append (array, "", 1);
text = array->data;
@@ -715,7 +714,7 @@ attach_to_multipart (CamelMultipart *multipart,
else
camel_mime_part_set_encoding (attachment->body, CAMEL_MIME_PART_ENCODING_7BIT);
- g_byte_array_free (array, TRUE);
+ camel_object_unref (CAMEL_OBJECT (stream));
} else if (g_strcasecmp (content_type->type, "message") != 0) {
camel_mime_part_set_encoding (attachment->body,
CAMEL_MIME_PART_ENCODING_BASE64);
d>nik2004-02-044-26/+115 * - Updte to version 0.5krion2004-02-033-16/+14 * Unmark FORBIDDEN, and fix the permissions issue.marcus2004-02-033-6/+3 * The tarball fetched from several CTAN mirror sites seemnork2004-02-033-17/+113 * Add gl2ps 1.1.2,krion2004-01-317-0/+95 * - make portlint happierdinoex2004-01-311-3/+1 * SIZE-ifyobraun2004-01-312-0/+2 * Fix installation of pdflib-perl.ale2004-01-311-0/+1 * FORBIDDEN: Changes ownership of system directorieskris2004-01-302-0/+4 * Add latex-index 4.02.b.20040120,krion2004-01-305-0/+115 * SIZEify.trevor2004-01-3052-0/+55 * Fix build and remove BROKEN.nork2004-01-302-10/+6 * Add latex-subfloat 2.14.20030821,krion2004-01-295-0/+86 * SIZEify.trevor2004-01-291-0/+1 * Update checksumedwin2004-01-291-1/+1 * Correct syntax error when PREFIX is defined.kris2004-01-281-2/+2 * Update the WWW: reference.jmz2004-01-281-1/+1 * Add size data.trevor2004-01-281-0/+1 * 1. add a missing build dependenceijliao2004-01-271-0/+3 * Update to 5.0.3 release.ale2004-01-274-34/+21 * Add latex-booktabs 1.618.20030328,krion2004-01-265-0/+68 * Add latex-bytefield 1.1.20021008,krion2004-01-265-0/+84 * Add latex-biblist 1.4.19920113,krion2004-01-265-0/+67 * Add latex-bibunits 2.2.20001010,krion2004-01-265-0/+74 * Add latex-bibtopic 1.0.20020822,krion2004-01-265-0/+73 * Add latex-feynmf 1.08.19961202,krion2004-01-266-0/+137 * - Update to version 1.1krion2004-01-262-1/+4 * Update to 1.19perky2004-01-265-29/+41 * Remove a COMMENT assignment that was left over from when we had pkg-commentmarcus2004-01-261-1/+0 * Add latex-timing 1.0.19940515,krion2004-01-265-0/+127 * Add latex-layouts 2.6.20031125,krion2004-01-265-0/+85 * Add latex-subfig 1.1.20040112,krion2004-01-265-0/+87 * Add latex-caption 3.0.20031220,krion2004-01-265-0/+82 * Add tex-texmflocal 1.0,krion2004-01-265-0/+98 * fix typoijliao2004-01-251-1/+1 * Add latex-mathabx 1.0.20031201,krion2004-01-256-0/+244 * Add latex-keystroke 1.0.20001109,krion2004-01-255-0/+84 * Add pxfonts 1.0, yet another Palatino-style font for LaTeX.krion2004-01-246-0/+523 * Add latex-beamer 1.21,krion2004-01-245-0/+276 * Add latex-xcolor 1.06,krion2004-01-245-0/+66 * Add latex-pgf 0.50,krion2004-01-245-0/+101 * - Add PORTDOCS to pkg-plistpav2004-01-244-782/+782 * - Fix fetchingpav2004-01-246-800/+798 * Now gettext 0.12.1 is gettext-old.trevor2004-01-2410-10/+10 * Use LS macro.trevor2004-01-232-2/+2 * Update to 20031210.nork2004-01-2212-46/+142 * Use the CPIO macro defined in bsd.port.mk.trevor2004-01-222-2/+2 * Use the SORT macro from bsd.port.mk.trevor2004-01-221-2/+0 * - Update to 3.7.18clement2004-01-223-5/+4 * Use the new ghostscript options.marcus2004-01-2114-119/+25 * - Update to 1.0.27pav2004-01-192-2/+2 * Switch to my @FreeBSD.org email address.ale2004-01-182-2/+2 * - Update to 1.0.26pav2004-01-162-3/+8 * update WWWijliao2004-01-151-1/+1 * - Update to 2.1.8pav2004-01-144-20/+8 * - Update to 2.0.2pav2004-01-143-10/+3 * Prevent /usr/local/lib/gimp from being created. CONFIGURE_ARGS prevents the gimpadamw2004-01-133-0/+69 * - Replace HP2200 driver (currently unavailable at master site)krion2004-01-1222-276/+448 * - Update to version 4.2.6krion2004-01-129-393/+2247 * [patch] update print/phppdflib to 2.7edwin2004-01-113-10/+14 * Update xfce to 4.0.3oliver2004-01-113-3/+8 * - Avoid fetching and installing broken font archivekrion2004-01-106-15/+15 * - add WITH_PERL and WITH_PYTHON knobspetef2004-01-101-1/+9 * - Update to version 8.13krion2004-01-0942-321/+678 * Variable GSPORT is recursive.leeym2004-01-081-2/+2 * - update to 20031116petef2004-01-082-4/+4 * - Remove no longer needed patch file [1]pav2004-01-083-954/+1092 * Add print/kaspaliste.linimon2004-01-071-0/+1 * Add print/kaspaliste, a literature database that handles all kinds oflinimon2004-01-075-0/+188 * add ttfquery 0.2.6ijliao2004-01-055-0/+71 * - Update to 1.0.24pav2004-01-013-9/+2 * - Update to 2.1.4pav2004-01-014-499/+508 * - Fix build on 5.xpav2004-01-013-494/+500 * add texpower 0.0.9dijliao2003-12-305-0/+38 * Add two new KDE apps to deal with CDs:linimon2003-12-2917-0/+552 * add pfbtopfa 1.0ijliao2003-12-245-0/+30 * Update to 0.0.7.knu2003-12-242-2/+2 * SAVANNAH_MASTER_SITE got compromised not so far. Currentlybland2003-12-221-2/+4 * - Fix MASTER_SITESkrion2003-12-221-1/+1 * - Use canonical form (ports@FreeBSD.org) in MAINTAINER linesergei2003-12-213-3/+3 * - Update to 1.29pav2003-12-172-3/+3 * - Update to 2.6.1pav2003-12-173-10/+10 * - Catch up with pkg_plist changespav2003-12-173-4/+4 * - Fix build, fix plist, bump versionpav2003-12-132-2/+7 * s/rpm2cpio/rpm2cpio.pl/ after the recent update of archivers/rpm2cpio (thenetchild2003-12-121-2/+2 * - Update to version 3.7.17krion2003-12-112-2/+2 * Update to 2.4.2.marcus2003-12-092-27/+4 * New port: epsmerge, merge multiple EPS files into single PS or EPS output.bms2003-12-096-0/+81 * - Update to version 3.7.16krion2003-12-082-2/+2 * add typetools 1.80ijliao2003-12-055-0/+42 * add libpdf++ 0.0.3ijliao2003-12-0510-0/+182 * add tipograf 0.4ijliao2003-12-055-0/+75 * update xfce to 4.0.1oliver2003-12-053-4/+7 * Update to 2.7.0mat2003-12-045-25/+51 * - Base lpr lives in /usr not in /pav2003-12-042-12/+12 * - Update to 1.1.20pav2003-12-043-3/+4 * Update to 0.6.3bland2003-12-043-19/+2 * Do not overwrite base lp* files by default. Instead, provide amarcus2003-12-011-0/+19 * Source tarball rerolled.bland2003-11-263-1/+17 * This patch was, in fact, committed in 2.4.1.marcus2003-11-232-11/+1 * Fix printing due to badly generated XML files. This has been reported tomarcus2003-11-222-2/+25 * - Move lpr binaries in base away, so cups binaries in /usr/local/binpav2003-11-224-1/+47 * - Let package create necessary config directoriespav2003-11-223-15/+14 * statue@freebsd.sinica.edu.tw has asked for all the maintainedlinimon2003-11-212-2/+2 * - Update to today (20031120) CVS and fix buildingpav2003-11-212-9/+5 * Update to 2.4.1.marcus2003-11-213-13/+3 * - fix compilation and installationeik2003-11-2111-715/+859 * development version of print/lilypond:eik2003-11-2115-0/+1265 * Define USE_PERL5_BUILD, not erroneous USE_PERL.trevor2003-11-202-2/+2 * Add gribouy 0.0.8, Gribouy is a Type1 font editor.bland2003-11-206-0/+65 * Define USE_PERL to make Perl available for (mostly deprecated)trevor2003-11-202-0/+2 * - Update to version 3.7.15krion2003-11-193-7/+15 * Remove gnomehier from USE_GNOME list (gnomeprefix implies gnomehier).bland2003-11-181-1/+1 * USE_REINPLACE need be defined only when REINPLACE_CMD is used.trevor2003-11-172-2/+0 * USE_REINPLACE must be defined before REINPLACE_CMD may be used.trevor2003-11-171-0/+1 * Correct pkg-descr.lofi2003-11-171-3/+18 * Add gnomephotoprinter 0.6, Gnome Photo Printer is intended forbland2003-11-175-0/+37 * Add libpaper, a library providing routines for paper size management.lofi2003-11-177-0/+70 * - typo in make variables, at some places "WITH_GHOSTSCRIPT_AFP1" has been usedandreas2003-11-161-3/+3 * Fix some ports that write something after bsd.port.mkeik2003-11-153-10/+3 * Update to 20031029.nork2003-11-146-48/+16 * Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.trevor2003-11-135-5/+5 * Upgrade to 20031110, and make bento happy.vanilla2003-11-133-3/+2 * Unnbreak and update print/mup portedwin2003-11-134-183/+174 * Use maintainer's preferred e-mail address.trevor2003-11-091-1/+1 * Patrick Atamaniuk has agreed to maintain this.trevor2003-11-091-1/+1 * Switch from (removed) pdflib4 port to pdflibkris2003-11-081-1/+1 * As announced on Aug 7, remove the broken pdflib4 portkris2003-11-086-155/+0 * Update to 1.3.3arved2003-11-0715-90/+60 * The pktrace program has been renamed to mftrace.trevor2003-11-057-79/+2 * - Fix build on -currentkrion2003-11-043-12/+601 * - Fix build on -currentkrion2003-11-041-4/+4 * Maintainer correctly points out that the PR that I committed againstlinimon2003-11-031-2/+0 * Mark as broken due to the fact that many of these files can onlylinimon2003-11-031-0/+2 * Reset bouncing maintainer addresskris2003-11-032-2/+2 * Mark BROKEN (see bento logs). These ports are scheduled for removalkris2003-11-035-2/+10 * Reset maintainer on ports owned by the following committers who havekris2003-11-031-1/+1 * Per bento logs, mark as broken on 5.x for the usual gcc3.3 reasons.linimon2003-11-021-1/+7 * ports with possibly unreachable MAINTAINERsedwin2003-11-021-1/+1 * mikeh tracked down the distfiles and hosted them locally. Use this as akris2003-10-301-4/+4 * Mark as broken on 5.x for the usual gcc reasons. Pet portlint.linimon2003-10-291-3/+9 * Upgrade to vendor release 1.9.14.joerg2003-10-294-24/+33 * Speedup raster image printing for metafile. Let's say dramatically.bland2003-10-292-0/+11 * BROKEN: Does not compilekris2003-10-281-0/+2 * Make IGNORE for perl < 5.6.vanilla2003-10-281-2/+7 * Remove kde as secondary category; i.e., this port is QT based whichlioux2003-10-271-1/+1 * New port mapagi version 0.6: Pagination utility that prints yourlioux2003-10-275-0/+69 * Upgrade to 0.7009.vanilla2003-10-262-4/+7 * Unbroke in -current.cjh2003-10-252-4/+17 * utilize SITE_PERLijliao2003-10-2411-52/+52 * Update to 20031020.nork2003-10-236-14/+46 * - Get the translations installed (Make configure able to detectoliver2003-10-192-3/+26 * Fix PLIST and unbreak. Note, however, Murray's email to me:linimon2003-10-172-5/+0 * Add back previous maintainer: it seems the mail bounce was caused bykris2003-10-162-2/+2 * Add USE_XLIB to make the port building on bento.edwin2003-10-161-0/+1 * Reset bouncing maintainer addresskris2003-10-162-2/+2 * BROKEN on 5.x: does not compilekris2003-10-161-1/+7 * remove php category, I was confused with the pear categoryedwin2003-10-161-1/+1 * Unbreak print/dviselect by using stdargs instaed of varargsedwin2003-10-153-27/+55 * BROKEN on 5.x: does not compilekris2003-10-151-1/+6 * update print/ft2demos: 2.1.4 -> 2.1.5daichi2003-10-144-17/+6 * update print/pfaedit: 20030929 -> 20031012daichi2003-10-146-126/+96 * Add $ to {ECHO_CMD}edwin2003-10-142-2/+2 * Fix "make describe".edwin2003-10-141-1/+1 * Rename to mftrace.trevor2003-10-1412-34/+68 * Update to 2.0.1.trevor2003-10-146-934/+1053 * Update to 2.4.0.2.adamw2003-10-132-2/+2 * Add USE_AUTOMAKE to the ports Makefileedwin2003-10-131-0/+1 * BROKEN: Does not fetchkris2003-10-131-0/+2 * add PHP dependency.edwin2003-10-121-0/+6 * New port: print/phppdflibedwin2003-10-125-0/+114 * . Remove LIB_DEPENDS on print/pdflib(4). This is implicit with theglewis2003-10-101-1/+0 * - Update to version 20031009krion2003-10-104-31/+2 * Record conflict with ports/print/acroread.trevor2003-10-101-0/+1 * new port: print/epsonepl "Printer filter for EPSON EPL-5700L etc"edwin2003-10-1011-0/+443 * New port: print/foomatic-db-engineedwin2003-10-086-0/+118 * Remove a quite unnecessary #include <varargs.h> which tripped up the build.des2003-10-071-1/+9 * - Update to 20031006krion2003-10-072-2/+2 * Make print/muttprint suitable to act as a master-port, needed foredwin2003-10-071-4/+4 * Update to version 1.5, which contains support for several new printers.dougb2003-10-062-11/+2 * DOCSDIR'ifydougb2003-10-061-2/+2 * Update with a better description, and my name/e-mail.dougb2003-10-061-3/+7 * * Add the URL with the hpijs driver optionsdougb2003-10-061-1/+2 * Port of rubber.edwin2003-10-066-0/+100 * New port for print/mupedwin2003-10-0613-0/+355 * Chase up new MASTER_SITE_SAVANNAH.edwin2003-10-031-1/+2 * - Update to version 20030929krion2003-10-016-6/+52 * Due a number of negative feedback about lost font hintingbland2003-10-011-0/+19 * * Update to 2.1.5marcus2003-09-306-48/+17 * Fix package when building with CUPS support.marcus2003-09-291-2/+0 * Add back DIST_SUBDIR. It was removed by mistake.demon2003-09-292-1/+2 * iUpdate port: print/ghostscript-afpledwin2003-09-2833-489/+735 * Update to 1.18perky2003-09-285-43/+61 * Update to 4.0.0 release.demon2003-09-272-7/+4 * Fix master_site for EPLASER files.edwin2003-09-272-2/+2 * Don't forget the patches for ports/57009edwin2003-09-278-0/+484 * Update port: print/ghostscript-gnuedwin2003-09-2712-200/+250 * KATO mega patchedwin2003-09-279-44/+44 * [Maintainer Update] Port: print/pdflibedwin2003-09-274-14/+15 * Update to 2.4.0.adamw2003-09-273-4/+5 * Make this align correctly for amd64 as well. This should fix the docspeter2003-09-252-2/+2 * - change ECHO -> ECHO_CMDdinoex2003-09-251-5/+5 * Make fetchable.trevor2003-09-251-2/+1 * Use ${LINUXBASE} instead of /compat/linux.osa2003-09-241-1/+1 * Make portlint(1) happy by changing strip to ${STRIP_CMD}osa2003-09-244-4/+4 * Update port: chinese/CJKedwin2003-09-241-0/+1 * hmp@ made a mistake, tg@ is still alive. Sorry for this.edwin2003-09-181-1/+1 * tg@freebsd doesn't exist anymore.edwin2003-09-181-1/+1 * Update to GNOME 2.4.0. For all the goodies on what's changed, known issues,marcus2003-09-187-58/+42 * Update MASTER_SITES and WWWtaoka2003-09-082-5/+2 * Update the version to 2.12taoka2003-09-072-3/+3 * Update to 20030904.nork2003-09-056-6/+8 * Make port localbase cleanedwin2003-09-041-1/+1 * Update to version 4.0 RC3.demon2003-09-032-7/+6 * %%NOPORTDOCS%% was wrongly used instead of %%PORTDOCS%% in the pkg-plisterwin2003-09-031-2/+2 * - Update MASTER_SITES and WWW: linekrion2003-09-024-77/+16 * Update port: print/ghostscript-afpl to 8.11edwin2003-08-31