commit | ab9285bf8a7a866daa7b4efc9f27181ea4fdc719 | [log] [tgz] |
---|---|---|
author | Marek Chalupa <mchqwerty@gmail.com> | Wed Dec 10 11:50:46 2014 +0100 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Fri Dec 12 14:52:29 2014 +0200 |
tree | 521daf8fe8ff997e06c7cec63999bff59ad31dfa | |
parent | a519d06a53962704f81030967fc0b892376356e9 [diff] |
screenshooter: fix various memory handling There were unchecked malloc and no free for this memory. Also simplify error handling in one function. v2. remove check if memory is NULL, according to man pages, free(NULL) is a no-op Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>