use g_free() instead of free()
On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete.
This commit is contained in:
@@ -125,7 +125,7 @@ db_get_song(const char *file)
|
||||
assert(song->parent == directory);
|
||||
|
||||
out:
|
||||
free(duplicated);
|
||||
g_free(duplicated);
|
||||
return song;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user