summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/json/json_helper.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 103ae8c47..8921b0684 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -54,6 +54,8 @@ src/conversation/conversation_api.c
src/conversation/conversation_api_call.c
src/conversation/gnunet-conversation.c
src/conversation/gnunet-conversation-test.c
+src/conversation/gnunet_gst.c
+src/conversation/gnunet_gst_test.c
src/conversation/gnunet-helper-audio-playback.c
src/conversation/gnunet-helper-audio-playback-gst.c
src/conversation/gnunet-helper-audio-record.c
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 7265dfa66..dca2106aa 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -244,6 +244,7 @@ GNUNET_JSON_spec_string (const char *name,
.ptr_size = 0,
.size_ptr = NULL
};
+ *strptr = NULL;
return ret;
}
@@ -283,6 +284,7 @@ clean_object (void *cls,
struct GNUNET_JSON_Specification *spec)
{
json_t **ptr = (json_t **) spec->ptr;
+
if (NULL != *ptr)
{
json_decref (*ptr);
@@ -310,6 +312,7 @@ GNUNET_JSON_spec_json (const char *name,
.ptr_size = 0,
.size_ptr = NULL
};
+ *jsonp = NULL;
return ret;
}
@@ -765,6 +768,7 @@ GNUNET_JSON_spec_rsa_public_key (const char *name,
.ptr_size = 0,
.size_ptr = NULL
};
+ *pk = NULL;
return ret;
}
@@ -857,6 +861,7 @@ GNUNET_JSON_spec_rsa_signature (const char *name,
.ptr_size = 0,
.size_ptr = NULL
};
+ *sig = NULL;
return ret;
}