mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
rbmp encode: Fix memory leak when saving image
This commit is contained in:
parent
5e7e4c2f3a
commit
bab8935b58
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user