Project

General

Profile

« Previous | Next » 

Revision 564d0193

Added by David Sorber almost 8 years ago

Fix simple but nasty memory leak.

View differences:

software/photo_compress_archiver/PhotoCompressArchiver.cc
<< percent << "%")
}
std::free(out_buffer);
delete work_unit;
}
WRKR_OUT_REG(" -- " << PURPLE << BOLD << "[[exiting]]" << ENDC)
// Clean up
std::free(out_buffer);
// Clean up
delete instance;
delete file_buffer;
}

Also available in: Unified diff