[svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.
Prep work for adding a memory free function, part of HDFFV-8551.
Tested on:
32-bit LE linux (jam)
* with C++, Fortran
* with thread safety on
These are minor changes (almost entirely renaming foo functions
to HDfoo) that don't change functionality. This should not
require a full commit test.
This commit is contained in:
@@ -174,7 +174,7 @@ void parse_command_line(int argc,
|
||||
options->exclude_path = 1;
|
||||
|
||||
/* create linked list of excluding objects */
|
||||
if( (exclude_node = (struct exclude_path_list*) malloc(sizeof(struct exclude_path_list))) == NULL)
|
||||
if( (exclude_node = (struct exclude_path_list*) HDmalloc(sizeof(struct exclude_path_list))) == NULL)
|
||||
{
|
||||
printf("Error: lack of memory!\n");
|
||||
h5diff_exit(EXIT_FAILURE);
|
||||
|
||||
Reference in New Issue
Block a user