evas: software_engine: free allocation on error path 29/226029/1
authorStefan Schmidt <s.schmidt@samsung.com>
Tue, 25 Feb 2020 09:57:24 +0000 (10:57 +0100)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 26 Feb 2020 07:44:31 +0000 (16:44 +0900)
commitdb39a5b61d79fc48e3691f3cc720f59be3fcc1fe
tree5112f4a63694d6f3859152baa839fdfd6066395e
parent462735ab01b1f26f5dd096870295fdc96f70c349
evas: software_engine: free allocation on error path

When we allocated s but fail to allocate l we need to make sure to free
the first allocation before erroring out.

CID: 1419874

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11409

Change-Id: I4016c7bab0347519e03345f4bb46d16377479dc4
src/modules/evas/engines/software_generic/evas_engine.c