diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-05-24 18:42:15 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-05-24 18:42:15 +0000 |
commit | 2fd2f4c9e0446e7da8852e7e556e64704987baac (patch) | |
tree | 79c710b0eefdc32d17a37f2b825695a7cec2dde6 /modules | |
parent | 4aeca6c61a47625ce6b16930a7c96336fa00d5eb (diff) | |
download | gtk+-2fd2f4c9e0446e7da8852e7e556e64704987baac.tar.gz |
Bug 504706 – wrong deallocator used for GError in gailtextview.c
2008-05-24 Matthias Clasen <mclasen@redhat.com>
Bug 504706 – wrong deallocator used for GError in gailtextview.c
* gailtextview.c: Don't use g_free on a GError.
svn path=/trunk/; revision=20136
Diffstat (limited to 'modules')
-rw-r--r-- | modules/other/gail/ChangeLog | 6 | ||||
-rw-r--r-- | modules/other/gail/gailtextview.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/modules/other/gail/ChangeLog b/modules/other/gail/ChangeLog index 993b9f0608..3f2fca11a0 100644 --- a/modules/other/gail/ChangeLog +++ b/modules/other/gail/ChangeLog @@ -1,3 +1,9 @@ +2008-05-24 Matthias Clasen <mclasen@redhat.com> + + Bug 504706 – wrong deallocator used for GError in gailtextview.c + + * gailtextview.c: Don't use g_free on a GError. + 2008-04-02 Li Yuan <li.yuan@.sun.com> * gailbutton.c: (idle_do_action): diff --git a/modules/other/gail/gailtextview.c b/modules/other/gail/gailtextview.c index 726aac16c0..ea86ea7a73 100644 --- a/modules/other/gail/gailtextview.c +++ b/modules/other/gail/gailtextview.c @@ -1736,7 +1736,7 @@ static GIOChannel* gail_streamable_content_get_stream (AtkStreamable else g_message (err->message); if (err) { g_message ("<error writing to stream [%s]>", tname); - g_free (err); + g_error_free (err); } /* make sure the file is removed on unref of the giochannel */ else { |