diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-20 15:46:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-20 15:46:33 +0000 |
commit | 0b7e2390bfb711499cab3511d7ff51a19c17369a (patch) | |
tree | 2c5c44d42dea56f9b57d56e413f7ce243ab2c02d /src/client | |
parent | 4b21810277a55f7c247f6bead1fadf87a2ad5e45 (diff) | |
download | rspamd-0b7e2390bfb711499cab3511d7ff51a19c17369a.tar.gz rspamd-0b7e2390bfb711499cab3511d7ff51a19c17369a.zip |
Remove memory leak.
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/rspamdclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rspamdclient.c b/src/client/rspamdclient.c index 7cb913f6f..d4b6e5d8b 100644 --- a/src/client/rspamdclient.c +++ b/src/client/rspamdclient.c @@ -188,7 +188,7 @@ rspamd_client_command (struct rspamd_client_connection *conn, rspamd_http_message_add_header (req->msg, hn, hv); } - req->msg->url = g_string_new ("/"); + g_string_append_c (req->msg->url, '/'); g_string_append (req->msg->url, command); conn->req = req; |