ndef: Use stack variable for record in build_ho_record
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 4 Jan 2013 15:10:32 +0000 (16:10 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 31 Jan 2013 00:35:38 +0000 (01:35 +0100)
commit93e0d21a0aa82a01010394d3a699930cbd8d3236
tree0c7119d53fbc22e9eb4be6972bd46d5d2d592fc9
parent5c394711cc5cef4e47bba35238df89ba30b4c582
ndef: Use stack variable for record in build_ho_record

There is no need to dynamically allocate record as it is not used
after build_ho_record returns.
src/ndef.c