aboutsummaryrefslogtreecommitdiff
path: root/src/social/gnunet-social.c
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2016-06-06 20:44:39 +0000
committerGabor X Toth <*@tg-x.net>2016-06-06 20:44:39 +0000
commit5c57b333fd9ca376e9ba2c1932127f733d684abb (patch)
tree0deae108af518125d45e9007930879e6d2a68d89 /src/social/gnunet-social.c
parent49033aed99b605ba358ab67f9a8e25f117bdb93d (diff)
downloadgnunet-5c57b333fd9ca376e9ba2c1932127f733d684abb.tar.gz
gnunet-5c57b333fd9ca376e9ba2c1932127f733d684abb.zip
fixes
Diffstat (limited to 'src/social/gnunet-social.c')
-rw-r--r--src/social/gnunet-social.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/social/gnunet-social.c b/src/social/gnunet-social.c
index a6ea772e7..3092792d4 100644
--- a/src/social/gnunet-social.c
+++ b/src/social/gnunet-social.c
@@ -379,6 +379,7 @@ host_announce (const char *method, const char *data, size_t data_size)
379 GNUNET_SOCIAL_host_announce (hst, method, env, 379 GNUNET_SOCIAL_host_announce (hst, method, env,
380 notify_data, &tmit, 380 notify_data, &tmit,
381 GNUNET_SOCIAL_ANNOUNCE_NONE); 381 GNUNET_SOCIAL_ANNOUNCE_NONE);
382 GNUNET_PSYC_env_destroy (env);
382} 383}
383 384
384 385
@@ -396,6 +397,7 @@ host_assign (const char *name, const char *data, size_t data_size)
396 GNUNET_SOCIAL_host_announce (hst, "_assign", env, 397 GNUNET_SOCIAL_host_announce (hst, "_assign", env,
397 notify_data, &tmit, 398 notify_data, &tmit,
398 GNUNET_SOCIAL_ANNOUNCE_NONE); 399 GNUNET_SOCIAL_ANNOUNCE_NONE);
400 GNUNET_PSYC_env_destroy (env);
399} 401}
400 402
401 403
@@ -417,6 +419,7 @@ guest_talk (const char *method,
417 GNUNET_SOCIAL_guest_talk (gst, method, env, 419 GNUNET_SOCIAL_guest_talk (gst, method, env,
418 notify_data, &tmit, 420 notify_data, &tmit,
419 GNUNET_SOCIAL_TALK_NONE); 421 GNUNET_SOCIAL_TALK_NONE);
422 GNUNET_PSYC_env_destroy (env);
420} 423}
421 424
422 425
@@ -673,6 +676,7 @@ guest_recv_local_enter (void *cls, int result,
673 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 676 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
674 "Guest entered to local place: %s, max_message_id: %" PRIu64 "\n", 677 "Guest entered to local place: %s, max_message_id: %" PRIu64 "\n",
675 pub_str, max_message_id); 678 pub_str, max_message_id);
679 GNUNET_free (pub_str);
676 GNUNET_assert (0 <= result); 680 GNUNET_assert (0 <= result);
677 681
678 if (op_guest_enter && !opt_follow) 682 if (op_guest_enter && !opt_follow)
@@ -821,6 +825,7 @@ host_entered (void *cls, int result,
821 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 825 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
822 "Host entered: %s, max_message_id: %" PRIu64 "\n", 826 "Host entered: %s, max_message_id: %" PRIu64 "\n",
823 pub_str, max_message_id); 827 pub_str, max_message_id);
828 GNUNET_free (pub_str);
824 829
825 if (op_host_enter && !opt_follow) 830 if (op_host_enter && !opt_follow)
826 { 831 {