eina: Applied NULL check
authorAnand <anand.km@samsung.com>
Tue, 24 Nov 2015 08:50:09 +0000 (17:50 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 24 Nov 2015 08:50:21 +0000 (17:50 +0900)
commit120305b08eb53cec419513d35c7e519a57c8e377
treed099df5a693d3f40ab13fc3392796a9099f47220
parent2a4877a5977b350628478c2c0f819aa39386ca2e
eina: Applied NULL check

Summary:
In _eina_list_setup_accounting function
{
...
...
if (!list->accounting)
     goto on_error;
...
...
on_error:
   _eina_list_mempool_list_free(list);
}

_eina_list_mempool_list_free function deference the "list->accounting"
variable which is already NULL.

Reviewers: JackDanielZ, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3376
src/lib/eina/eina_list.c