vo_opengl: remove another unneeded allocation

This commit is contained in:
wm4 2016-05-16 12:54:45 +02:00
parent 51307e9f18
commit 1bc902336a
1 changed files with 1 additions and 3 deletions

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: