diff options
author | Furquan Shaikh <furquan@google.com> | 2018-05-31 09:48:51 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-06-05 20:57:51 +0000 |
commit | 369e1f074f7b376e815927ddfc7d8a529ba57500 (patch) | |
tree | e1f5570f5de8e232c78bac908f4acbcf41be89a8 /util/sconfig/sconfig.tab.h_shipped | |
parent | a9b642999bb8b0bb409150edc7adc777794ffe75 (diff) |
util/sconfig: Add helper function for allocating memory
Add a helper function s_alloc (sconfig alloc) that allocates memory
using calloc to get 0 initialized memory and checks to ensure it is
not NULL.
BUG=b:80081934
Change-Id: I56a70cf4865c50ed238226ace86e867bb1ec53db
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26738
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/sconfig/sconfig.tab.h_shipped')
0 files changed, 0 insertions, 0 deletions