summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r--video/out/opengl/video.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 0198539e36..527279cd48 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -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: