Use simple free function in pa_dynarray_free

This commit is contained in:
Maarten Bosmans 2011-11-18 09:58:08 +01:00 committed by Colin Guthrie
parent 46920bab16
commit e45b02de55
4 changed files with 6 additions and 10 deletions

View file

@ -1800,7 +1800,7 @@ int pa_cli_command_execute_line_stateful(pa_core *c, const char *s, pa_strbuf *b
sorted_files = pa_xnew(char*, count);
for (i = 0; i < count; ++i)
sorted_files[i] = pa_dynarray_get(files, i);
pa_dynarray_free(files, NULL, NULL);
pa_dynarray_free(files, NULL);
for (i = 0; i < count; ++i) {
for (unsigned j = 0; j < count; ++j) {