6382 Possible memory leak in load_heuristics()

Review Request #237 — Created Oct. 16, 2016 and updated

domag02
illumos-gate
6382
general
6382 Possible memory leak in load_heuristics()

My first contribution to illumos.
Needs somebody to build-test it.
  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
domag02
domag02
domag02
tsoome
  1. 
      
  2. you can move this free to line 276, just before free(hp). free() is nop if the argument is NULL, and calloc does give you zeroed memory.

  3. 
      
domag02
domag02
Review request changed

Change Summary:

free(hp->prog) moved.

Diff:

Revision 4 (+14 -12)

Show changes

Removed Files:

Loading...