Use calloc instead of malloc to set memory zero. 73/39373/3
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 14 May 2015 02:25:42 +0000 (11:25 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 3 Jun 2015 04:48:27 +0000 (21:48 -0700)
commit91d64fba09bbf400b135814fbafe4c0b90023ad6
tree0dc34279d5c065af44ab377530fa0709d573208a
parenta80622aa9782da4184189309fbf3329d148d873e
Use calloc instead of malloc to set memory zero.

This patch is to avoid segmentation fault.
all of member valuable should be zero before check if valid.

Change-Id: Icc1b6a9e5be21a57d4346c9c2dbefb6cce3a0fd6
Signed-off-by: Seunghun Lee <shiin.lee@samsung.com>
src/tbm_wayland.c