tried to fix these weird problems with allocated memory which should be freed (songpath). But VLC somehow needs this memory to work properly.