mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-23 19:42:31 -05:00
Oops... memory leak -- forgot to free the daap tree after serializing
This commit is contained in:
parent
ebf850a12e
commit
a98bdfbf66
@ -27,7 +27,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <zlib.h>
|
||||
|
||||
#include "daap-proto.h"
|
||||
#include "err.h"
|
||||
|
@ -203,6 +203,7 @@ void daap_handler(WS_CONNINFO *pwsc) {
|
||||
*/
|
||||
|
||||
daap_serialize(root,pwsc->fd,0);
|
||||
daap_free(root);
|
||||
} else {
|
||||
/* stream out the song */
|
||||
pwsc->close=1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user