]> git.tue.mpg.de Git - paraslash.git/commit
Fix memory leak in playlist.c.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 25 Nov 2024 23:28:53 +0000 (00:28 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 25 Dec 2024 20:08:32 +0000 (21:08 +0100)
commit8bd72ff8b3c9b59b3800042782a3fd28a65abddc
tree527d0847e7379b66b1269d58b45928738cee948a
parent04c3b05a706df8bd8bfd7c0ed43d996b5ed5602a
Fix memory leak in playlist.c.

If the result pointer is NULL. we currently leak one playlist instance
structure (12 bytes on 32 bit, 20 bytes on 64 bit) each time a playlist
is loaded.

Found by valgrind.

Fixes: 2d2637cb4c9ab76fea6bc336b9af88fd00bf5e08
playlist.c