mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #2984 from sronsse/fixes_for_team
rbmp encode: Fix memory leak when saving image
This commit is contained in:
commit
2fb69c4a33
@ -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