mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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)
|
||||
{
|
||||
bool viewport_read;
|
||||
bool viewport_read = false;
|
||||
bool ret = false;
|
||||
const char *msg = NULL;
|
||||
|
||||
@ -339,7 +339,8 @@ static void deinit_recording(void)
|
||||
g_extern.rec = 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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user