X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Funix%2Fprocess.cpp;h=ee0a36d3b783ea30383470f6c411f3a007c54bed;hb=HEAD;hp=99be2e1d75a592a87a07e926439add7a4a5bec17;hpb=ea8bf8f588310b0d7fd3297d74907602705bba1d;p=libs%2Fcore.git diff --git a/source/core/unix/process.cpp b/source/core/unix/process.cpp index 99be2e1..ee0a36d 100644 --- a/source/core/unix/process.cpp +++ b/source/core/unix/process.cpp @@ -4,6 +4,7 @@ #include #include #include +#include "except.h" #include "process.h" #include "process_private.h" @@ -12,7 +13,9 @@ using namespace std; namespace Msp { Process::~Process() -{ } +{ + delete priv; +} void Process::platform_get_self_info(Private &priv) { @@ -35,7 +38,7 @@ void Process::execute(const string &command, bool path_search, const Arguments & argv[0] = command.c_str(); for(unsigned i=0; iinfo.pid, &status, (block ? 0 : WNOHANG));