diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_json_lib.h | 8 | ||||
-rw-r--r-- | src/service/testing/Makefile.am | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h index c3204026b..203976b5c 100644 --- a/src/include/gnunet_json_lib.h +++ b/src/include/gnunet_json_lib.h | |||
@@ -142,7 +142,13 @@ GNUNET_JSON_parse (const json_t *root, | |||
142 | 142 | ||
143 | /** | 143 | /** |
144 | * Frees all elements allocated during a #GNUNET_JSON_parse() | 144 | * Frees all elements allocated during a #GNUNET_JSON_parse() |
145 | * operation. | 145 | * operation. Convenience function to be called if cleaning |
146 | * up all heap-allocated data from a #GNUNET_JSON_parse() is | ||
147 | * desired. The function does not have to be called if no data | ||
148 | * was heap-allocated (e.g. only integers, strings and fixed-sized | ||
149 | * data was used), or if the application calls the respective | ||
150 | * code to free the heap (not always #GNUNET_free(), depends | ||
151 | * on the data type!) on the returned heap-allocated data itself. | ||
146 | * | 152 | * |
147 | * @param spec specification of the parse operation | 153 | * @param spec specification of the parse operation |
148 | */ | 154 | */ |
diff --git a/src/service/testing/Makefile.am b/src/service/testing/Makefile.am index 3bad23f95..5cd4aae9b 100644 --- a/src/service/testing/Makefile.am +++ b/src/service/testing/Makefile.am | |||
@@ -96,7 +96,7 @@ test_testing_start_with_config_SOURCES = \ | |||
96 | test_testing_start_with_config_LDADD = \ | 96 | test_testing_start_with_config_LDADD = \ |
97 | libgnunettesting.la \ | 97 | libgnunettesting.la \ |
98 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | 98 | $(top_builddir)/src/lib/util/libgnunetutil.la \ |
99 | $(top_builddir)/src/lib/hello/libgnunethello.la | 99 | $(top_builddir)/src/lib/hello/libgnunethello.la |
100 | 100 | ||
101 | test_testing_portreservation_SOURCES = \ | 101 | test_testing_portreservation_SOURCES = \ |
102 | test_testing_portreservation.c | 102 | test_testing_portreservation.c |