On Fri, 12 Sep 2014 03:08:40 +0900
Ryo Munakata wrote:
> On Thu, 11 Sep 2014 15:53:15 +0200
> Ondřej Majerech wrote:
>
> > When backend_init returns NULL, we goto out_signals, which wants to
> > free(modules), but in this particular code path, modules hasn't been
> > initialised leading to a "D
On Thu, 11 Sep 2014 15:53:15 +0200
Ondřej Majerech wrote:
> When backend_init returns NULL, we goto out_signals, which wants to
> free(modules), but in this particular code path, modules hasn't been
> initialised leading to a "Double-free or corruption" error message.
> Initialising modules to NU
When backend_init returns NULL, we goto out_signals, which wants to
free(modules), but in this particular code path, modules hasn't been
initialised leading to a "Double-free or corruption" error message.
Initialising modules to NULL makes the free a no-op in this scenario.
Signed-off-by: Ondřej M