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
This commit is contained in:
Matthias Clasen
2008-05-24 18:42:15 +00:00
committed by Matthias Clasen
parent 4aeca6c61a
commit 2fd2f4c9e0
2 changed files with 7 additions and 1 deletions

View File

@@ -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):

View File

@@ -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 {