aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/pg_lookup_token_family_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/pg_lookup_token_family_key.c')
-rw-r--r--src/backenddb/pg_lookup_token_family_key.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backenddb/pg_lookup_token_family_key.c b/src/backenddb/pg_lookup_token_family_key.c
index fc1045df..33fc0b27 100644
--- a/src/backenddb/pg_lookup_token_family_key.c
+++ b/src/backenddb/pg_lookup_token_family_key.c
@@ -155,9 +155,10 @@ TMH_PG_lookup_token_family_key (void *cls,
GNUNET_break (0);
return GNUNET_DB_STATUS_HARD_ERROR;
}
- }
- GNUNET_free (kind);
+ if (NULL != kind)
+ GNUNET_free (kind);
+ }
return qs;
} \ No newline at end of file