diff options
author | Gabor X Toth <*@tg-x.net> | 2015-09-30 18:50:15 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2015-09-30 18:50:15 +0000 |
commit | ed4ed16a253da94fc7d647f299a12bccd62fa3ec (patch) | |
tree | a7ece034c98314996f49a4e5be0292fbd757aee5 /src/social | |
parent | c353b355490cde6586db87691de6865a5f807098 (diff) | |
download | gnunet-ed4ed16a253da94fc7d647f299a12bccd62fa3ec.tar.gz gnunet-ed4ed16a253da94fc7d647f299a12bccd62fa3ec.zip |
free fix
Diffstat (limited to 'src/social')
-rw-r--r-- | src/social/social_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/social/social_api.c b/src/social/social_api.c index 4aed3755e..24607bf61 100644 --- a/src/social/social_api.c +++ b/src/social/social_api.c | |||
@@ -1269,7 +1269,7 @@ host_recv_enter_request (void *cls, | |||
1269 | 1269 | ||
1270 | const char *method_name = NULL; | 1270 | const char *method_name = NULL; |
1271 | struct GNUNET_ENV_Environment *env = NULL; | 1271 | struct GNUNET_ENV_Environment *env = NULL; |
1272 | struct GNUNET_PSYC_MessageHeader *entry_pmsg; | 1272 | struct GNUNET_PSYC_MessageHeader *entry_pmsg = NULL; |
1273 | const void *data = NULL; | 1273 | const void *data = NULL; |
1274 | uint16_t data_size = 0; | 1274 | uint16_t data_size = 0; |
1275 | char *str; | 1275 | char *str; |
@@ -1308,7 +1308,8 @@ host_recv_enter_request (void *cls, | |||
1308 | 1308 | ||
1309 | if (NULL != env) | 1309 | if (NULL != env) |
1310 | GNUNET_ENV_environment_destroy (env); | 1310 | GNUNET_ENV_environment_destroy (env); |
1311 | GNUNET_free (entry_pmsg); | 1311 | if (NULL != entry_pmsg) |
1312 | GNUNET_free (entry_pmsg); | ||
1312 | } | 1313 | } |
1313 | 1314 | ||
1314 | 1315 | ||