Revision 22baf42c
libavutil/mem.h | ||
---|---|---|
48 | 48 |
|
49 | 49 |
/** |
50 | 50 |
* Free memory which has been allocated with av_malloc(z)() or av_realloc(). |
51 |
* NOTE: ptr = NULL is explicitly allowed.
|
|
52 |
* Note2: It is recommended that you use av_freep() instead.
|
|
51 |
* @note ptr = NULL is explicitly allowed.
|
|
52 |
* @note It is recommended that you use av_freep() instead.
|
|
53 | 53 |
*/ |
54 | 54 |
void av_free(void *ptr); |
55 | 55 |
|
... | ... | |
65 | 65 |
|
66 | 66 |
/** |
67 | 67 |
* Free memory and set the pointer to NULL. |
68 |
* @param ptr pointer to the pointer which should be freed.
|
|
68 |
* @param ptr Pointer to the pointer which should be freed.
|
|
69 | 69 |
*/ |
70 | 70 |
void av_freep(void *ptr); |
71 | 71 |
|
Also available in: Unified diff