aboutsummaryrefslogtreecommitdiffstats
path: root/src/zfree.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-03 23:02:59 +0100
committerMattias Andrée <maandree@kth.se>2016-03-03 23:02:59 +0100
commitd6987458f21cf1890045f2606d0f8ec4d2225b44 (patch)
tree90afabbea01b01c4dedcb41748eb534ce04fbf77 /src/zfree.c
parentzsets: minor optimisation (diff)
downloadlibzahl-d6987458f21cf1890045f2606d0f8ec4d2225b44.tar.gz
libzahl-d6987458f21cf1890045f2606d0f8ec4d2225b44.tar.bz2
libzahl-d6987458f21cf1890045f2606d0f8ec4d2225b44.tar.xz
Cleanup and fix bug in ztrunc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zfree.c')
-rw-r--r--src/zfree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/zfree.c b/src/zfree.c
index f75bb38..622faae 100644
--- a/src/zfree.c
+++ b/src/zfree.c
@@ -1,13 +1,9 @@
/* See LICENSE file for copyright and license details. */
#include "internals"
-#include <stdlib.h>
-
void
zfree(z_t a)
{
free(a->chars);
- a->alloced = 0;
- a->chars = 0;
}