diff options
author | 2016-05-16 12:42:08 +0200 | |
---|---|---|
committer | 2016-05-16 12:42:08 +0200 | |
commit | dd99c1e3b4c32c6e6550db55192362a4d69414f0 (patch) | |
tree | 8fbafee15ee24fddd993448d460c537114d874af /video/out/opengl/user_shaders.c | |
parent | 56ed5bf1c7b14aed87b273e9a989fa88e4d332ad (diff) |
vo_opengl: remove unnecessary allocation
Diffstat (limited to 'video/out/opengl/user_shaders.c')
-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; } |