mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +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,
|
bool rbmp_save_image(const char *filename, const void *frame,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user