]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp: Always set mp_context to NULL on errors.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 16 Mar 2020 17:44:07 +0000 (18:44 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 17 Sep 2020 15:43:02 +0000 (17:43 +0200)
commit91dab140da62ea364af1a82b2b5e67e69205b35f
treef180f003aa98664d1e168c249e84d29b213c41aa
parent62c0894fbb589dd45e69b7d9ef1fd152a9960d62
mp: Always set mp_context to NULL on errors.

In mp_init(), if mp_yyparse() fails, we return early without setting
the result pointer to NULL. This does not matter much because both
callers of mood.c pass in NULL, but still..
mp.c