diff options
Diffstat (limited to 'src/datastore/gnunet-service-datastore.c')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 97888ce03..7d07ba3b3 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -1556,7 +1556,8 @@ run (void *cls, | |||
1556 | 5); /* approx. 3% false positives at max use */ | 1556 | 5); /* approx. 3% false positives at max use */ |
1557 | refresh_bf = GNUNET_YES; | 1557 | refresh_bf = GNUNET_YES; |
1558 | } | 1558 | } |
1559 | GNUNET_free (pfn); | 1559 | if (NULL != pfn) |
1560 | GNUNET_free (pfn); | ||
1560 | } | 1561 | } |
1561 | else | 1562 | else |
1562 | { | 1563 | { |
@@ -1566,7 +1567,8 @@ run (void *cls, | |||
1566 | 5); /* approx. 3% false positives at max use */ | 1567 | 5); /* approx. 3% false positives at max use */ |
1567 | refresh_bf = GNUNET_YES; | 1568 | refresh_bf = GNUNET_YES; |
1568 | } | 1569 | } |
1569 | GNUNET_free (fn); | 1570 | if (NULL != fn) |
1571 | GNUNET_free (fn); | ||
1570 | if (NULL == filter) | 1572 | if (NULL == filter) |
1571 | { | 1573 | { |
1572 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1574 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |