X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Funix%2Fprocess.cpp;h=ee0a36d3b783ea30383470f6c411f3a007c54bed;hb=34efed1510d68f8258c3b9db37a9f55dcb1eeda9;hp=76141b0360a56de7ed150878430f4a6848a26279;hpb=ea60f3548d4769c356b796cb27cd690cdfe4b6d9;p=libs%2Fcore.git diff --git a/source/core/unix/process.cpp b/source/core/unix/process.cpp index 76141b0..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,10 +38,11 @@ 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));