Commit 8727fe6c authored by Albert Astals Cid's avatar Albert Astals Cid

pdfsigverify: no if before delete

parent eb1a6a62
......@@ -6,6 +6,7 @@
//
// Copyright 2015 André Guerreiro <aguerreiro1985@gmail.com>
// Copyright 2015 André Esser <bepandre@hotmail.com>
// Copyright 2015 Albert Astals Cid <aacid@kde.org>
//
//========================================================================
......@@ -165,10 +166,8 @@ int main(int argc, char *argv[])
end:
delete globalParams;
if (fileName)
delete fileName;
if (doc)
delete doc;
delete fileName;
delete doc;
return exitCode;
}
Markdown is supported
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