diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-20 12:37:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-20 12:37:44 +0000 |
commit | 15232a7da17948866bd1a05ac9a15d7fca3351fe (patch) | |
tree | 6df808a03aab38215a86e8e16b7fc052855d5ed2 /src | |
parent | f89b2594b091ff1a8434dffb840754915c45ed76 (diff) | |
download | gnunet-15232a7da17948866bd1a05ac9a15d7fca3351fe.tar.gz gnunet-15232a7da17948866bd1a05ac9a15d7fca3351fe.zip |
leak
Diffstat (limited to 'src')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 6c6155831..a2e8aa820 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -527,7 +527,8 @@ transmit (struct GNUNET_SERVER_Client *client, | |||
527 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 527 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
528 | "Shutdown in progress, aborting transmission.\n"); | 528 | "Shutdown in progress, aborting transmission.\n"); |
529 | #endif | 529 | #endif |
530 | if (NULL != tc) | 530 | GNUNET_free (msg); |
531 | if (NULL != tc) | ||
531 | tc (tc_cls, GNUNET_SYSERR); | 532 | tc (tc_cls, GNUNET_SYSERR); |
532 | return; | 533 | return; |
533 | } | 534 | } |
@@ -1335,7 +1336,7 @@ cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1335 | GNUNET_CONNECTION_notify_transmit_ready_cancel (tcc->th); | 1336 | GNUNET_CONNECTION_notify_transmit_ready_cancel (tcc->th); |
1336 | GNUNET_SERVER_client_drop (tcc->client); | 1337 | GNUNET_SERVER_client_drop (tcc->client); |
1337 | } | 1338 | } |
1338 | if (NULL != tcc->tc) | 1339 | if (NULL != tcc->tc) |
1339 | tcc->tc (tcc->tc_cls, GNUNET_SYSERR); | 1340 | tcc->tc (tcc->tc_cls, GNUNET_SYSERR); |
1340 | GNUNET_free (tcc->msg); | 1341 | GNUNET_free (tcc->msg); |
1341 | GNUNET_free (tcc); | 1342 | GNUNET_free (tcc); |