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 /zahl.h | |
| 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 'zahl.h')
| -rw-r--r-- | zahl.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -16,16 +16,7 @@ -/* This structure should be considered opaque. */ -typedef struct { - int sign; -#if INT_MAX != LONG_MAX - int padding__; -#endif - size_t used; - size_t alloced; - zahl_char_t *chars; -} z_t[1]; +typedef struct zahl z_t[1]; |
