diff options
Diffstat (limited to 'hl/test')
-rw-r--r-- | hl/test/test_ds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c index 0777d73..0ec7203 100644 --- a/hl/test/test_ds.c +++ b/hl/test/test_ds.c @@ -4512,6 +4512,7 @@ static int read_data( const char* fname, if ( *buf == NULL ) { printf( "memory allocation failed\n" ); + fclose(f); return -1; } |