Ignore:
Timestamp:
01/23/09 12:29:51 (15 years ago)
Author:
tim
Message:

fixed various integer issues and memory allocation issues

polished error message functions and added initial messages in a few places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup-recover.c

    r135 r136  
    9999  if(print_parsedraw)
    100100    free(quoted_raw);
     101  free(quoted_name);
    101102}
    102103
     
    829830      tmp_path = (char*)malloc(strlen(parent_paths[i])+strlen(tmp_name)+2);
    830831      if(tmp_path == NULL)
     832      {
     833        free(tmp_name);
    831834        return 10;
     835      }
     836
    832837      sprintf(tmp_path, "%s/%s", parent_paths[i], tmp_name);
    833838      for(j=0; j < tmp_key->num_values; j++)
Note: See TracChangeset for help on using the changeset viewer.