wmusic: Fix major memory leak; don't always create new players
commit8a9606c84d3d9cbd2f35f6f51debf1998f350ef6
authorTorrance, Douglas <dtorrance@piedmont.edu>
Tue, 17 Jan 2023 11:25:58 +0000 (17 11:25 +0000)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 17 Jan 2023 11:30:05 +0000 (17 11:30 +0000)
tree06d27e715ad9752ccdf090178e7d7bb4ab7a4e47
parent46f7ef38455c735a2d37ca1489541934abf5d74e
wmusic: Fix major memory leak; don't always create new players

Calling g_main_context_iteration will update the existing player.

Closes: #42
wmusic/src/wmusic.c