The "param" value is not assigned before this free() statement. So remove it. (yay clang compiler warnings)