Add image_free to tidy-up

This commit is contained in:
Gareth Evans
2017-02-02 12:41:36 +00:00
parent fb950bafef
commit 6fecec8e4e
3 changed files with 8 additions and 1 deletions

View File

@@ -749,6 +749,8 @@ void DoRxdPwr(char *filename, unsigned char geo, unsigned char kml,
fflush(fd);
image_free(&ctx);
if( filename != NULL ) {
fclose(fd);
fd = NULL;