Commit c3e84d83 authored by Alex Henrie's avatar Alex Henrie

Bug 1605545 - Fix memory leak in Pk11Install_Platform_Generate. r=mt

Differential Revision: https://phabricator.services.mozilla.com/D58072

--HG--
extra : moz-landing-system : lando
parent 5c6f2048
......@@ -889,8 +889,6 @@ Pk11Install_Platform_Generate(Pk11Install_Platform* _this,
errStr = Pk11Install_PlatformName_Generate(&_this->equivName,
subval->string);
if (errStr) {
tmp = PR_smprintf("%s: %s",
Pk11Install_PlatformName_GetString(&_this->name), errStr);
tmp = PR_smprintf("%s: %s",
Pk11Install_PlatformName_GetString(&_this->name), errStr);
PR_smprintf_free(errStr);
......
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