summaryrefslogtreecommitdiff
path: root/libavutil/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index ab69eafda2..60885aa159 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -354,6 +354,11 @@ void av_free(void *ptr);
void *av_mallocz(unsigned int size);
char *av_strdup(const char *s);
+
+/**
+ * Frees memory and sets the pointer to NULL.
+ * @param arg pointer to the pointer which should be freed
+ */
void av_freep(void *ptr);
#endif /* COMMON_H */