diff options
author | Omar Tarabai <tarabai@devegypt.com> | 2014-06-03 15:03:36 +0000 |
---|---|---|
committer | Omar Tarabai <tarabai@devegypt.com> | 2014-06-03 15:03:36 +0000 |
commit | 1d644b000a0f0b5c12fe82a6c95d4874081b69a5 (patch) | |
tree | e7cf26af12f45392b6f0a79d6012f16f1b6fd605 /src/peerstore/peerstore_common.h | |
parent | a04d70028c0615e7910f68328db9c61bba67128b (diff) | |
download | gnunet-1d644b000a0f0b5c12fe82a6c95d4874081b69a5.tar.gz gnunet-1d644b000a0f0b5c12fe82a6c95d4874081b69a5.zip |
peerstore: memory leak fixes
Diffstat (limited to 'src/peerstore/peerstore_common.h')
-rw-r--r-- | src/peerstore/peerstore_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/peerstore/peerstore_common.h b/src/peerstore/peerstore_common.h index 20cb9c0e7..dae2b437b 100644 --- a/src/peerstore/peerstore_common.h +++ b/src/peerstore/peerstore_common.h | |||
@@ -86,3 +86,10 @@ PEERSTORE_create_record_mq_envelope(const char *sub_system, | |||
86 | */ | 86 | */ |
87 | struct GNUNET_PEERSTORE_Record * | 87 | struct GNUNET_PEERSTORE_Record * |
88 | PEERSTORE_parse_record_message(const struct GNUNET_MessageHeader *message); | 88 | PEERSTORE_parse_record_message(const struct GNUNET_MessageHeader *message); |
89 | |||
90 | /** | ||
91 | * Free any memory allocated for this record | ||
92 | * | ||
93 | * @param record | ||
94 | */ | ||
95 | void PEERSTORE_destroy_record(struct GNUNET_PEERSTORE_Record *record); | ||