diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-17 19:07:30 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-17 19:07:30 +0000 |
commit | 56d8e56431e988716ef5580f95ab4361b7a2ebe1 (patch) | |
tree | 2c3b5326482784ed7c7f15d336e0c5c9574dc592 /src/polyp/xmalloc.c | |
parent | 6e9f2d70937e9b8dc09a753e3d678fe11a5754ca (diff) |
* make pa_xfree() a real function
* update doxygen docs for xmalloc.h
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@913 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/xmalloc.c')
-rw-r--r-- | src/polyp/xmalloc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/polyp/xmalloc.c b/src/polyp/xmalloc.c index 4c8689a6..1deeebd8 100644 --- a/src/polyp/xmalloc.c +++ b/src/polyp/xmalloc.c @@ -121,3 +121,9 @@ char *pa_xstrndup(const char *s, size_t l) { } } +void pa_xfree(void *p) { + if (!p) + return; + + free(p); +} |