OSDN Git Service

Fix memory allocation of struct attribute
authorAnderson Lizardo <anderson.lizardo@openbossa.org>
Wed, 21 Sep 2011 02:49:10 +0000 (22:49 -0400)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 22 Sep 2011 11:01:28 +0000 (20:01 +0900)
commit2acb6b1a3ae530f6b952488bca1d5500fe2ea035
tree14748f09ec27ac2ba561704161b91a7c7f94880e
parentfef3e7c0025b955b7ef4d6ff68cd6aa921f4475a
Fix memory allocation of struct attribute

On commit 6a6da5de107e192f62ce2ecdde96eae985181df0 the struct
attribute "data[0]" member was replaced with a dynamically allocated
"data" pointer. This commit fixes remaining places where the old
allocation scheme was still assumed.
attrib/att.c
src/attrib-server.c