mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 12:22:22 +00:00
vo_opengl: remove unnecessary allocation
This commit is contained in:
parent
56ed5bf1c7
commit
dd99c1e3b4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user