diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-09-26 00:46:34 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-09-26 00:46:34 -0400 |
commit | 725bd4f0b4cc067fc2770f7f8ffd9c815c745239 (patch) | |
tree | 2bf8c049473d27057ce8cbac2a08eb2be05443b6 /libdimension/malloc.c | |
parent | 46bf25a9bed9eec6aaa8c4cad8144c7df629da30 (diff) | |
download | dimension-725bd4f0b4cc067fc2770f7f8ffd9c815c745239.tar.xz |
Add dmnsn_free() to match dmnsn_malloc().
Diffstat (limited to 'libdimension/malloc.c')
-rw-r--r-- | libdimension/malloc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libdimension/malloc.c b/libdimension/malloc.c index 746f9ab..605de8b 100644 --- a/libdimension/malloc.c +++ b/libdimension/malloc.c @@ -49,3 +49,9 @@ dmnsn_strdup(const char *s) strcpy(copy, s); return copy; } + +void +dmnsn_free(void *ptr) +{ + free(ptr); +} |