aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-02-20 22:56:59 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-02-20 22:56:59 +0800
commit69cdae0bcb0a0824b594bade4620b4093a605b2f (patch)
tree02c426b35480d71a369cac1b1ab172993b7e09aa /composer/e-msg-composer.c
parent3c5d98af4ebd0377b0e7bd6367ee1f19df80cee5 (diff)
downloadgsoc2013-evolution-69cdae0bcb0a0824b594bade4620b4093a605b2f.tar.gz
gsoc2013-evolution-69cdae0bcb0a0824b594bade4620b4093a605b2f.tar.zst
gsoc2013-evolution-69cdae0bcb0a0824b594bade4620b4093a605b2f.zip
** Part of fix for bug #515744
2008-02-20 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #515744 * composer/e-msg-composer.c: (drop_action): * calendar/gui/dialogs/comp-editor.c: (drop_action): Fixing previous fix - do not double free. svn path=/trunk/; revision=35063
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 613b29a515..ae82e9b262 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2953,13 +2953,10 @@ drop_action(EMsgComposer *composer, GdkDragContext *context, guint32 action, Gtk
for (i = 0; urls[i] != NULL; i++) {
str = g_strstrip (urls[i]);
- if (str[0] == '#' || str[0] == '\0') {
- g_free (str);
+ if (str[0] == '#' || str[0] == '\0')
continue;
- }
handle_uri (composer, str, html_dnd);
- g_free (str);
}
g_strfreev (urls);