*
* LGPL HEADER END
*
- * Copyright (c) 2014, Intel Corporation.
+ * Copyright (c) 2014, 2015, Intel Corporation.
*
* Author:
* Amir Shehata <amir.shehata@intel.com>
return;
failed:
+ /* Only reason we get here is if we run out of memory */
cYAML_free_tree(r);
r = NULL;
+ fprintf(stderr, "error:\n\tfatal: out of memory\n");
}
struct cYAML *cYAML_build_tree(char *yaml_file,