gs-plugin-appstream: Fix a memory leak in failure branch
When a file load failed the media_baseurl
GString was leaked.
Allocate it internally to the function it uses it only.
This had been found by a static analyzer.
When a file load failed the media_baseurl
GString was leaked.
Allocate it internally to the function it uses it only.
This had been found by a static analyzer.