diff options
Diffstat (limited to 'src/plugins/relay/relay-http.c')
-rw-r--r-- | src/plugins/relay/relay-http.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/relay/relay-http.c b/src/plugins/relay/relay-http.c index 62dfb839c..aff6a1ac7 100644 --- a/src/plugins/relay/relay-http.c +++ b/src/plugins/relay/relay-http.c @@ -1579,6 +1579,9 @@ relay_http_parse_response (const char *data) void relay_http_response_free (struct t_relay_http_response *response) { + if (!response) + return; + free (response->http_version); free (response->message); weechat_hashtable_free (response->headers); |