projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
First draft of the wma decoder.
[paraslash.git]
/
string.c
diff --git
a/string.c
b/string.c
index bb63120184c79b44270a4ae1ba671e6dd74de5e1..77f2f2a17d27002b0fcf608a4b615f6beaa83b01 100644
(file)
--- a/
string.c
+++ b/
string.c
@@
-135,6
+135,13
@@
__must_check __printf_1_2 __malloc char *make_message(const char *fmt, ...)
return msg;
}
+void freep(void *arg)
+{
+ void **ptr = (void **)arg;
+ free(*ptr);
+ *ptr = NULL;
+}
+
/**
* Paraslash's version of strcat().
*