From fe6a84608c7064f2a2fe3542481e0655c6f40812 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 18 Feb 2016 15:40:58 +0100 Subject: Fix segfault for particular reply condition --- uca-net-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uca-net-camera.c b/uca-net-camera.c index aefb175..ce0e26b 100644 --- a/uca-net-camera.c +++ b/uca-net-camera.c @@ -328,7 +328,7 @@ request_get_property (GSocketConnection *connection, const gchar *name, GValue * return FALSE; if (reply.type != request.type) { - if (*error != NULL) + if (error != NULL) /* FIXME: replace with correct error codes */ *error = g_error_new_literal (G_FILE_ERROR, G_FILE_ERROR_NOENT, "Reply does not match request"); return FALSE; -- cgit v1.2.3