Changeset 228 for trunk/src/reglookup.c
- Timestamp:
- 04/18/11 16:25:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/reglookup.c
r213 r228 95 95 fprintf(stderr, "WARN: While quoting value for '%s/%s', " 96 96 "warning returned: %s\n", prefix, quoted_name, conv_error); 97 regfi_free_record( data);97 regfi_free_record(iter->f, data); 98 98 } 99 99 … … 282 282 if(!type_filter_enabled || (value->type == type_filter)) 283 283 printValue(iter, value, prefix); 284 regfi_free_record( value);284 regfi_free_record(iter->f, value); 285 285 regfi_iterator_next_value(iter); 286 286 printMsgs(iter->f); … … 310 310 sacl = regfi_get_sacl(sk->sec_desc); 311 311 dacl = regfi_get_dacl(sk->sec_desc); 312 regfi_free_record( sk);312 regfi_free_record(iter->f, sk); 313 313 314 314 if(owner == NULL) … … 345 345 else 346 346 quoted_classname = empty_str; 347 regfi_free_record( classname);347 regfi_free_record(iter->f, classname); 348 348 349 349 printMsgs(iter->f); … … 365 365 printf("%s,KEY,,%s\n", full_path, mtime); 366 366 367 regfi_free_record( key);367 regfi_free_record(iter->f, key); 368 368 } 369 369 … … 406 406 if(cur != root) 407 407 { 408 regfi_free_record( cur);408 regfi_free_record(iter->f, cur); 409 409 /* We're done with this sub-tree, going up and hitting other branches. */ 410 410 if(!regfi_iterator_up(iter)) … … 430 430 * Let's move down and print this first sub-tree out. 431 431 */ 432 regfi_free_record( cur);432 regfi_free_record(iter->f, cur); 433 433 if(!regfi_iterator_down(iter)) 434 434 { … … 438 438 439 439 cur = regfi_iterator_cur_key(iter); 440 regfi_free_record( sub);440 regfi_free_record(iter->f, sub); 441 441 regfi_iterator_first_subkey(iter); 442 442 sub = regfi_iterator_cur_subkey(iter); … … 445 445 printMsgs(iter->f); 446 446 } while(!((cur == root) && (sub == NULL))); 447 regfi_free_record( root);447 regfi_free_record(iter->f, root); 448 448 449 449 if(print_verbose) … … 518 518 printValue(iter, value, tmp_path_joined); 519 519 520 regfi_free_record( value);520 regfi_free_record(iter->f, value); 521 521 free(tmp_path); 522 522 free(tmp_path_joined);
Note: See TracChangeset
for help on using the changeset viewer.