# HG changeset patch # User Christian Hammond # Date 1064986994 0 # Node ID 9d0e74b6ca68f3a68745f4f6c7648cca4a051bb1 # Parent 7700a28929bdcf5736920c4b5194ecb8601b9c10 [gaim-migrate @ 7670] Fix a double free. committer: Tailor Script diff -r 7700a28929bd -r 9d0e74b6ca68 src/util.c --- a/src/util.c Wed Oct 01 05:42:40 2003 +0000 +++ b/src/util.c Wed Oct 01 05:43:14 2003 +0000 @@ -1890,9 +1890,6 @@ close(sock); gfud->callback(gfud->user_data, gfud->webdata, gfud->len); - if (gfud->webdata) - g_free(gfud->webdata); - destroy_fetch_url_data(gfud); } else diff -r 7700a28929bd -r 9d0e74b6ca68 src/util.h --- a/src/util.h Wed Oct 01 05:42:40 2003 +0000 +++ b/src/util.h Wed Oct 01 05:43:14 2003 +0000 @@ -168,7 +168,7 @@ /** * Returns the gaim settings directory in the user's home directory. - * + * * @return The gaim settings directory. * * @see gaim_home_dir() @@ -255,7 +255,7 @@ * g_free(). * * @param path The returned path to the temp file. - * + * * @return A file pointer to the temporary file, or @c NULL on failure. */ FILE *gaim_mkstemp(gchar **path); @@ -307,7 +307,7 @@ * * @param string The string from which to replace stuff. * @param delimiter The substring you want replaced. - * @param replacement The substring you want inserted in place + * @param replacement The substring you want inserted in place * of the delimiting substring. */ gchar *gaim_strreplace(const gchar *string, const gchar *delimiter,