From 48880d827d6a7eece1ddc3736d6a953195f69332 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 26 Jan 2020 14:29:48 +0100 Subject: [PATCH] player: fix minor coding style issue --- player/configfiles.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/player/configfiles.c b/player/configfiles.c index bf27641954..89b412e576 100644 --- a/player/configfiles.c +++ b/player/configfiles.c @@ -431,7 +431,8 @@ void mp_load_playback_resume(struct MPContext *mpctx, const char *file) char *fname = mp_get_playback_resume_config_filename(mpctx, file); if (fname && mp_path_exists(fname)) { if (mpctx->opts->position_check_mtime && - !mp_is_url(bstr0(file)) && !check_mtime(file, fname)) { + !mp_is_url(bstr0(file)) && !check_mtime(file, fname)) + { talloc_free(fname); return; }