Commit a9411832 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix mem leak

parent 016711c6
......@@ -50,8 +50,10 @@ void AsyExporter::run( const KigPart& doc, KigWidget& w )
opts->setGrid( true );
opts->setAxes( true );
opts->setExtraFrame( false );
if ( !kfd->exec() )
if ( !kfd->exec() ) {
delete kfd;
return;
}
QString file_name = kfd->selectedFile();
bool showgrid = opts->showGrid();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment