manifest->tep_name is freed in pkgmgr.
Change-Id: Ic6720169d01262fb0089a90759d072d448af9bbc
}
if (!context_->tep_path.get().empty())
- manifest->tep_name = (char *)context_->tep_path.get().c_str();
+ manifest->tep_name = strdup(context_->tep_path.get().c_str());
// write pkgid for recovery file
if (context_->recovery_info.get().recovery_file) {
#include <boost/archive/iterators/base64_from_binary.hpp>
#include <boost/archive/iterators/transform_width.hpp>
+#include <algorithm>
#include <sstream>
#include <string>