aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/POTFILES.in8
-rw-r--r--src/ats-tests/ats-testing-experiment.c14
-rw-r--r--src/ats-tests/ats-testing-log.c7
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_nick.c2
4 files changed, 21 insertions, 10 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5de74c9b4..1589c02bb 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -116,12 +116,6 @@ src/env/env.c
116src/exit/gnunet-daemon-exit.c 116src/exit/gnunet-daemon-exit.c
117src/exit/gnunet-helper-exit.c 117src/exit/gnunet-helper-exit.c
118src/exit/gnunet-helper-exit-windows.c 118src/exit/gnunet-helper-exit-windows.c
119src/experimentation/gnunet-daemon-experimentation.c
120src/experimentation/gnunet-daemon-experimentation_capabilities.c
121src/experimentation/gnunet-daemon-experimentation_experiments.c
122src/experimentation/gnunet-daemon-experimentation_nodes.c
123src/experimentation/gnunet-daemon-experimentation_scheduler.c
124src/experimentation/gnunet-daemon-experimentation_storage.c
125src/fragmentation/defragmentation.c 119src/fragmentation/defragmentation.c
126src/fragmentation/fragmentation.c 120src/fragmentation/fragmentation.c
127src/fs/fs_api.c 121src/fs/fs_api.c
@@ -386,7 +380,6 @@ src/util/container_meta_data.c
386src/util/container_multihashmap32.c 380src/util/container_multihashmap32.c
387src/util/container_multihashmap.c 381src/util/container_multihashmap.c
388src/util/container_multipeermap.c 382src/util/container_multipeermap.c
389src/util/container_slist.c
390src/util/crypto_crc.c 383src/util/crypto_crc.c
391src/util/crypto_ecc.c 384src/util/crypto_ecc.c
392src/util/crypto_hash.c 385src/util/crypto_hash.c
@@ -436,6 +429,7 @@ src/vpn/gnunet-helper-vpn-windows.c
436src/vpn/gnunet-service-vpn.c 429src/vpn/gnunet-service-vpn.c
437src/vpn/gnunet-vpn.c 430src/vpn/gnunet-vpn.c
438src/vpn/vpn_api.c 431src/vpn/vpn_api.c
432src/fs/fs_api.h
439src/include/gnunet_common.h 433src/include/gnunet_common.h
440src/include/gnunet_mq_lib.h 434src/include/gnunet_mq_lib.h
441src/include/gnunet_postgres_lib.h 435src/include/gnunet_postgres_lib.h
diff --git a/src/ats-tests/ats-testing-experiment.c b/src/ats-tests/ats-testing-experiment.c
index 97409e2a2..a6feee07c 100644
--- a/src/ats-tests/ats-testing-experiment.c
+++ b/src/ats-tests/ats-testing-experiment.c
@@ -97,6 +97,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
97 char *type; 97 char *type;
98 char *pref; 98 char *pref;
99 int op_counter = 0; 99 int op_counter = 0;
100
100 fprintf (stderr, "Parsing episode %u\n",cur->id); 101 fprintf (stderr, "Parsing episode %u\n",cur->id);
101 GNUNET_asprintf(&sec_name, "episode-%u", cur->id); 102 GNUNET_asprintf(&sec_name, "episode-%u", cur->id);
102 103
@@ -134,6 +135,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
134 op_counter, op, cur->id); 135 op_counter, op, cur->id);
135 GNUNET_free (op); 136 GNUNET_free (op);
136 GNUNET_free (op_name); 137 GNUNET_free (op_name);
138 GNUNET_free (o);
137 return GNUNET_SYSERR; 139 return GNUNET_SYSERR;
138 } 140 }
139 GNUNET_free (op_name); 141 GNUNET_free (op_name);
@@ -147,6 +149,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
147 op_counter, op, cur->id); 149 op_counter, op, cur->id);
148 GNUNET_free (op); 150 GNUNET_free (op);
149 GNUNET_free (op_name); 151 GNUNET_free (op_name);
152 GNUNET_free (o);
150 return GNUNET_SYSERR; 153 return GNUNET_SYSERR;
151 } 154 }
152 if (o->src_id > (e->num_masters - 1)) 155 if (o->src_id > (e->num_masters - 1))
@@ -155,6 +158,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
155 o->src_id, op_counter, op, cur->id); 158 o->src_id, op_counter, op, cur->id);
156 GNUNET_free (op); 159 GNUNET_free (op);
157 GNUNET_free (op_name); 160 GNUNET_free (op_name);
161 GNUNET_free (o);
158 return GNUNET_SYSERR; 162 return GNUNET_SYSERR;
159 } 163 }
160 GNUNET_free (op_name); 164 GNUNET_free (op_name);
@@ -168,6 +172,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
168 op_counter, op, cur->id); 172 op_counter, op, cur->id);
169 GNUNET_free (op); 173 GNUNET_free (op);
170 GNUNET_free (op_name); 174 GNUNET_free (op_name);
175 GNUNET_free (o);
171 return GNUNET_SYSERR; 176 return GNUNET_SYSERR;
172 } 177 }
173 if (o->dest_id > (e->num_slaves - 1)) 178 if (o->dest_id > (e->num_slaves - 1))
@@ -176,6 +181,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
176 o->dest_id, op_counter, op, cur->id); 181 o->dest_id, op_counter, op, cur->id);
177 GNUNET_free (op); 182 GNUNET_free (op);
178 GNUNET_free (op_name); 183 GNUNET_free (op_name);
184 GNUNET_free (o);
179 return GNUNET_SYSERR; 185 return GNUNET_SYSERR;
180 } 186 }
181 GNUNET_free (op_name); 187 GNUNET_free (op_name);
@@ -209,6 +215,8 @@ load_episode (struct Experiment *e, struct Episode *cur,
209 GNUNET_free (type); 215 GNUNET_free (type);
210 GNUNET_free (op); 216 GNUNET_free (op);
211 GNUNET_free (op_name); 217 GNUNET_free (op_name);
218 GNUNET_free (sec_name);
219 GNUNET_free (o);
212 return GNUNET_SYSERR; 220 return GNUNET_SYSERR;
213 } 221 }
214 GNUNET_free (op_name); 222 GNUNET_free (op_name);
@@ -223,6 +231,8 @@ load_episode (struct Experiment *e, struct Episode *cur,
223 GNUNET_free (type); 231 GNUNET_free (type);
224 GNUNET_free (op); 232 GNUNET_free (op);
225 GNUNET_free (op_name); 233 GNUNET_free (op_name);
234 GNUNET_free (sec_name);
235 GNUNET_free (o);
226 return GNUNET_SYSERR; 236 return GNUNET_SYSERR;
227 } 237 }
228 GNUNET_free (op_name); 238 GNUNET_free (op_name);
@@ -241,6 +251,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
241 GNUNET_free (type); 251 GNUNET_free (type);
242 GNUNET_free (op_name); 252 GNUNET_free (op_name);
243 GNUNET_free (op); 253 GNUNET_free (op);
254 GNUNET_free (o);
244 return GNUNET_SYSERR; 255 return GNUNET_SYSERR;
245 } 256 }
246 } 257 }
@@ -267,6 +278,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
267 GNUNET_free (type); 278 GNUNET_free (type);
268 GNUNET_free (op_name); 279 GNUNET_free (op_name);
269 GNUNET_free (op); 280 GNUNET_free (op);
281 GNUNET_free (o);
270 return GNUNET_SYSERR; 282 return GNUNET_SYSERR;
271 } 283 }
272 GNUNET_free (op_name); 284 GNUNET_free (op_name);
@@ -282,6 +294,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
282 GNUNET_free (op_name); 294 GNUNET_free (op_name);
283 GNUNET_free (op); 295 GNUNET_free (op);
284 GNUNET_free_non_null (pref); 296 GNUNET_free_non_null (pref);
297 GNUNET_free (o);
285 return GNUNET_SYSERR; 298 return GNUNET_SYSERR;
286 } 299 }
287 300
@@ -298,6 +311,7 @@ load_episode (struct Experiment *e, struct Episode *cur,
298 GNUNET_free (op); 311 GNUNET_free (op);
299 GNUNET_free (pref); 312 GNUNET_free (pref);
300 GNUNET_free_non_null (pref); 313 GNUNET_free_non_null (pref);
314 GNUNET_free (o);
301 return GNUNET_SYSERR; 315 return GNUNET_SYSERR;
302 } 316 }
303 GNUNET_free (pref); 317 GNUNET_free (pref);
diff --git a/src/ats-tests/ats-testing-log.c b/src/ats-tests/ats-testing-log.c
index dd856a2d5..ab8fdefcd 100644
--- a/src/ats-tests/ats-testing-log.c
+++ b/src/ats-tests/ats-testing-log.c
@@ -483,6 +483,7 @@ GNUNET_ATS_TEST_logging_write_to_file (struct LoggingHandle *l,
483 { 483 {
484 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Cannot open log file `%s'\n", filename_slaves[c_s]); 484 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Cannot open log file `%s'\n", filename_slaves[c_s]);
485 GNUNET_free (filename_slaves[c_s]); 485 GNUNET_free (filename_slaves[c_s]);
486 GNUNET_break (GNUNET_OK == GNUNET_DISK_file_close(f_m));
486 return; 487 return;
487 } 488 }
488 489
@@ -601,8 +602,10 @@ GNUNET_ATS_TEST_logging_write_to_file (struct LoggingHandle *l,
601 602
602 if (GNUNET_SYSERR == GNUNET_DISK_file_close(f_m)) 603 if (GNUNET_SYSERR == GNUNET_DISK_file_close(f_m))
603 { 604 {
604 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 605 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR,
605 "Cannot close log file `%s'\n", filename_master); 606 "close",
607 filename_master);
608 GNUNET_free (filename_master);
606 return; 609 return;
607 } 610 }
608 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 611 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
diff --git a/src/namestore/test_namestore_api_zone_iteration_nick.c b/src/namestore/test_namestore_api_zone_iteration_nick.c
index 8453edfc7..9b3b5acf5 100644
--- a/src/namestore/test_namestore_api_zone_iteration_nick.c
+++ b/src/namestore/test_namestore_api_zone_iteration_nick.c
@@ -215,7 +215,7 @@ zone_proc (void *cls,
215 GNUNET_SCHEDULER_add_now (&end, NULL); 215 GNUNET_SCHEDULER_add_now (&end, NULL);
216 return; 216 return;
217 } 217 }
218 218 GNUNET_assert (NULL != zone);
219 if (0 == memcmp (zone, privkey, sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) 219 if (0 == memcmp (zone, privkey, sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)))
220 { 220 {
221 failed = check_zone_1 (label, rd_count, rd); 221 failed = check_zone_1 (label, rd_count, rd);