mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
[input] Let input_metadata_free zero metadata like the other free functions
This commit is contained in:
parent
c975cf4474
commit
67d0504700
@ -503,6 +503,8 @@ input_metadata_free(struct input_metadata *metadata, int content_only)
|
|||||||
|
|
||||||
if (!content_only)
|
if (!content_only)
|
||||||
free(metadata);
|
free(metadata);
|
||||||
|
else
|
||||||
|
memset(metadata, 0, sizeof(struct input_metadata));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user