diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-08 18:17:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-08 18:17:41 +0000 |
commit | 24e1e35a253df478fad762a741bb204a4afef6fc (patch) | |
tree | 1e2547c22359862e7a64f3d656b9b17697fe2637 /src/arm | |
parent | b943b962c2c8601fc8d25ed7ed8cfad9d4bce55f (diff) | |
download | gnunet-24e1e35a253df478fad762a741bb204a4afef6fc.tar.gz gnunet-24e1e35a253df478fad762a741bb204a4afef6fc.zip |
-fixing leaks/use after free
Diffstat (limited to 'src/arm')
-rw-r--r-- | src/arm/arm_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c index 16de88929..452dd34c4 100644 --- a/src/arm/arm_api.c +++ b/src/arm/arm_api.c | |||
@@ -763,8 +763,8 @@ handle_list_response (void *cls, const struct GNUNET_MessageHeader *msg) | |||
763 | if (NULL == end) | 763 | if (NULL == end) |
764 | { | 764 | { |
765 | GNUNET_break (0); | 765 | GNUNET_break (0); |
766 | GNUNET_free (sc); | ||
767 | sc->callback (sc->cls, GNUNET_NO, 0, NULL); | 766 | sc->callback (sc->cls, GNUNET_NO, 0, NULL); |
767 | GNUNET_free (sc); | ||
768 | return; | 768 | return; |
769 | } | 769 | } |
770 | list[i] = pos; | 770 | list[i] = pos; |