rbmp encode: Fix memory leak when saving image

This commit is contained in:
Sebastien Ronsse 2016-05-10 13:09:05 +10:00
parent 5e7e4c2f3a
commit bab8935b58

View File

@ -197,6 +197,8 @@ static void dump_content(RFILE *file, const void *frame,
}
}
/* Free allocated line buffer */
free(line);
}
bool rbmp_save_image(const char *filename, const void *frame,