mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Cleanups
This commit is contained in:
parent
fcbbf08109
commit
105af6e55c
@ -142,7 +142,7 @@ static bool take_screenshot_raw(void)
|
|||||||
|
|
||||||
static void take_screenshot(void)
|
static void take_screenshot(void)
|
||||||
{
|
{
|
||||||
bool viewport_read;
|
bool viewport_read = false;
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
const char *msg = NULL;
|
const char *msg = NULL;
|
||||||
|
|
||||||
@ -339,7 +339,8 @@ static void deinit_recording(void)
|
|||||||
g_extern.rec = NULL;
|
g_extern.rec = NULL;
|
||||||
g_extern.rec_driver = NULL;
|
g_extern.rec_driver = NULL;
|
||||||
|
|
||||||
free(g_extern.record_gpu_buffer);
|
if (g_extern.record_gpu_buffer)
|
||||||
|
free(g_extern.record_gpu_buffer);
|
||||||
g_extern.record_gpu_buffer = NULL;
|
g_extern.record_gpu_buffer = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user