aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--matrix-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix-api.c b/matrix-api.c
index 7821bf9..706ef58 100644
--- a/matrix-api.c
+++ b/matrix-api.c
@@ -206,7 +206,7 @@ static int _handle_body(http_parser *http_parser, const char *at,
size_t length)
{
MatrixApiResponseParserData *response_data = http_parser->data;
- GError *err;
+ GError *err = NULL;
if(purple_debug_is_verbose())
purple_debug_info("matrixprpl", "Handling API response body %.*s\n",