diff options
-rw-r--r-- | video/out/opengl/user_shaders.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/opengl/user_shaders.c b/video/out/opengl/user_shaders.c index 0cf80af115..65bac0ad2b 100644 --- a/video/out/opengl/user_shaders.c +++ b/video/out/opengl/user_shaders.c @@ -154,9 +154,7 @@ bool parse_user_shader_pass(struct mp_log *log, struct bstr *body, } // Unknown command type - char *str = bstrto0(NULL, line); - mp_err(log, "Unrecognized command '%s'!\n", str); - talloc_free(str); + mp_err(log, "Unrecognized command '%.*s'!\n", BSTR_P(line)); return false; } |