projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac6bfb
)
* fixed leak
author
Arne Zellentin
<arne@kernelconcepts.de>
Tue, 30 May 2006 11:03:09 +0000
(11:03 +0000)
committer
Arne Zellentin
<arne@kernelconcepts.de>
Tue, 30 May 2006 11:03:09 +0000
(11:03 +0000)
pmo-trunk-r123
src/modest-tny-msg-view.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-msg-view.c
b/src/modest-tny-msg-view.c
index
8741d5e
..
c230987
100644
(file)
--- a/
src/modest-tny-msg-view.c
+++ b/
src/modest-tny-msg-view.c
@@
-523,9
+523,9
@@
modest_tny_msg_view_get_selected_text (ModestTnyMsgView *self)
/* I'm sure there is a better way to check for selected text */
sel = gtk_html_get_selection_html(GTK_HTML(html), &len);
-
if (sel == NULL)
return NULL;
+ g_free(sel);
clip = gtk_widget_get_clipboard(html, GDK_SELECTION_PRIMARY);
text = gtk_clipboard_wait_for_text(clip);