diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-04-26 22:40:43 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-04-26 22:40:43 +0200 |
| commit | 3413d878a7b1a37ff362ddfa9141349e73af917a (patch) | |
| tree | d15e1795fc697944fb1ba1a2b8a2793db1ac4707 /src/zunsetup.c | |
| parent | Zahl[en] is spelled with upper case Z (diff) | |
| download | libzahl-3413d878a7b1a37ff362ddfa9141349e73af917a.tar.gz libzahl-3413d878a7b1a37ff362ddfa9141349e73af917a.tar.bz2 libzahl-3413d878a7b1a37ff362ddfa9141349e73af917a.tar.xz | |
Ensure that failure does not result in memory leak
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zunsetup.c')
| -rw-r--r-- | src/zunsetup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zunsetup.c b/src/zunsetup.c index ba84dd7..48ee9e3 100644 --- a/src/zunsetup.c +++ b/src/zunsetup.c @@ -24,5 +24,7 @@ zunsetup(void) free(libzahl_pool[i][libzahl_pool_n[i]]); free(libzahl_pool[i]); } + + free(libzahl_temp_stack); } } |
