1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

vo_opengl: remove another unneeded allocation

This commit is contained in:
wm4 2016-05-16 12:54:45 +02:00
parent 51307e9f18
commit 1bc902336a

View File

@ -1670,9 +1670,7 @@ static float eval_szexpr(struct gl_video *p, struct img_tex tex,
}
}
char *errname = bstrto0(NULL, name);
MP_WARN(p, "Texture %s not found in RPN expression!\n", errname);
talloc_free(errname);
MP_WARN(p, "Texture %.*s not found in RPN expression!\n", BSTR_P(name));
return 1.0;
found_tex: