mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 14:13:18 -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)
|
||||
free(metadata);
|
||||
else
|
||||
memset(metadata, 0, sizeof(struct input_metadata));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user