Hi! I run a process using the start method of QProcess:

Qt Code:
  1. QProcess* proc = new QProcess();
  2. proc->start(path);
To copy to clipboard, switch view to plain text mode 

but, is there a way to free the memory after the process has returned? If I delete proc after starting, obviously I get that no process is run... Is there any other way?
Thanks!