core: use the 'malloc' attribute
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 1 Mar 2017 10:19:12 +0000 (11:19 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 1 Mar 2017 10:19:12 +0000 (11:19 +0100)
commit0309da9ecba34e7e25b4afa0229544ba366b129f
treef3819efea7bbb132c8a38983fd38438ad36f5e95
parent1941cb16c7c95d5afa904e99ba6f934a02f372e4
core: use the 'malloc' attribute

Use the 'malloc' gcc attribute in the zalloc() definition.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/lib/core.c