diff options
author | Max Kellermann <max@duempel.org> | 2008-09-19 17:31:17 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-19 17:31:17 +0200 |
commit | 45b554123c08f36de1daf133164f76154045c387 (patch) | |
tree | 57d3a78d39098b5a2246e29f92066457aab357d1 /src/song.h | |
parent | 7e9bee742cc8e7cc8d47f3a56466337d6d3a8efd (diff) | |
download | mpd-45b554123c08f36de1daf133164f76154045c387.tar.gz mpd-45b554123c08f36de1daf133164f76154045c387.tar.xz mpd-45b554123c08f36de1daf133164f76154045c387.zip |
filelist: fix segfault during filelist_sort()
When I converted the filelist from GList to GPtrArray, I missed that
the GCompareFunc does not actually get the pointers from
g_ptr_array_sort(), but pointers to the pointers... run
g_ptr_array_sort_with_data() instead with a wrapper function.
Diffstat (limited to 'src/song.h')
0 files changed, 0 insertions, 0 deletions