aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_test_lib.c
diff options
context:
space:
mode:
authorbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2012-12-19 19:37:33 +0000
committerbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2012-12-19 19:37:33 +0000
commitd52d5938b1568743689fa6f67c034ede089b2733 (patch)
treed8e50ab6e753c1c54db9f52b548c678ded9bd4f5 /src/regex/regex_test_lib.c
parente12f112b52c32c59ab0af213e94e7a0de6a08e73 (diff)
- coverity 10398
git-svn-id: https://gnunet.org/svn/gnunet@25568 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/regex/regex_test_lib.c')
-rw-r--r--src/regex/regex_test_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regex/regex_test_lib.c b/src/regex/regex_test_lib.c
index 0fc54e83fc..edadf1b15e 100644
--- a/src/regex/regex_test_lib.c
+++ b/src/regex/regex_test_lib.c
@@ -224,6 +224,7 @@ GNUNET_REGEX_read_from_file (const char *filename)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Can't get size of file %s\n", filename);
+ GNUNET_DISK_file_close (f);
return NULL;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,