added output_buffer_free()
To do proper cleanup before exiting, we have to provide a destructor for OutputBuffer. One day, valgrind will not complain about memory leaks! git-svn-id: https://svn.musicpd.org/mpd/trunk@7315 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
committed by
Eric Wong
parent
b688134586
commit
f2cdac6ee7
@@ -62,6 +62,8 @@ typedef struct _OutputBuffer {
|
||||
|
||||
void initOutputBuffer(OutputBuffer * cb, unsigned int size);
|
||||
|
||||
void output_buffer_free(OutputBuffer * cb);
|
||||
|
||||
void clearOutputBuffer(OutputBuffer * cb);
|
||||
|
||||
void flushOutputBuffer(OutputBuffer * cb);
|
||||
|
||||
Reference in New Issue
Block a user