Fix mem leak

svn path=/trunk/KDE/kdepim/; revision=839486
wilder-work
Laurent Montel 18 years ago
parent 7521da0f12
commit 0a3fabc5d7
  1. 5
      kmfilteraction.cpp

@ -510,8 +510,11 @@ KMFilterAction::ReturnCode KMFilterActionWithCommand::genericProcess(KMMessage*
QString commandLine = substituteCommandLineArgsFor( aMsg, atmList );
if ( commandLine.isEmpty() )
{
qDeleteAll( atmList );
atmList.clear();
return ErrorButGoOn;
}
// The parentheses force the creation of a subshell
// in which the user-specified command is executed.
// This is to really catch all output of the command as well

Loading…
Cancel
Save