summaryrefslogtreecommitdiffstats
path: root/ucad.c
diff options
context:
space:
mode:
Diffstat (limited to 'ucad.c')
-rw-r--r--ucad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucad.c b/ucad.c
index e56ee42..020fe86 100644
--- a/ucad.c
+++ b/ucad.c
@@ -230,6 +230,7 @@ handle_get_property_request (GSocketConnection *connection, UcaCamera *camera, g
reply.type = request->type;
strncpy (reply.property_value, g_value_get_string (&str_value), sizeof (reply.property_value));
send_reply (connection, &reply, sizeof (reply), error);
+ g_value_unset (&str_value);
}
static void