summaryrefslogtreecommitdiff
path: root/src/set/gnunet-set-profiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/set/gnunet-set-profiler.c')
-rw-r--r--src/set/gnunet-set-profiler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/set/gnunet-set-profiler.c b/src/set/gnunet-set-profiler.c
index 7de58a0d1..a6c900f5e 100644
--- a/src/set/gnunet-set-profiler.c
+++ b/src/set/gnunet-set-profiler.c
@@ -274,7 +274,6 @@ set_insert_iterator (void *cls,
el.data = payload;
el.size = element_length;
GNUNET_SET_add_element (set, &el, NULL, NULL);
- GNUNET_free (el);
return GNUNET_YES;
}
@@ -436,7 +435,7 @@ main (int argc, char **argv)
{ 'f', "force-full", NULL,
gettext_noop ("force sending full set"),
GNUNET_NO, &GNUNET_GETOPT_set_uint, &force_full },
- { 'l', "element-length", NULL,
+ { 'w', "element-length", NULL,
gettext_noop ("element length in byte"),
GNUNET_NO, &GNUNET_GETOPT_set_uint, &element_length },
{ 'd', "force-delta", NULL,