diff options
author | Bernhard Schuster <schuster.bernhard@gmail.com> | 2013-06-21 09:42:46 +0200 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-06-28 08:38:16 -0400 |
commit | adcf9a68f56030dcbf3eab5b0717209392f45240 (patch) | |
tree | b923ff46c8c26d6c5131fcedc5d8c2f626db377f | |
parent | 38c79e2389855828a6505b635fec688ef1f30116 (diff) | |
download | libsoup-adcf9a68f56030dcbf3eab5b0717209392f45240.tar.gz |
replace g_hash_table_destroy with _unref for server query
This is necessary to allow passing the query on to another thread, given
that the developer adds another reference. With the current destroy
thing this will not work.
https://bugzilla.gnome.org/show_bug.cgi?id=702793
-rw-r--r-- | libsoup/soup-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-server.c b/libsoup/soup-server.c index acf8fa14..ff51e5bd 100644 --- a/libsoup/soup-server.c +++ b/libsoup/soup-server.c @@ -907,7 +907,7 @@ call_handler (SoupMessage *msg, SoupClientContext *client) client, hand->user_data); if (form_data_set) - g_hash_table_destroy (form_data_set); + g_hash_table_unref (form_data_set); } } |