Skip to content

Commit acf6d68

Browse files
author
Stephen A Pohl
committed
Bug 1524290: Fix a potential memory leak in updater.cpp. r=rstrong
1 parent df72192 commit acf6d68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toolkit/mozapps/update/updater/updater.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4170,6 +4170,7 @@ int AddPreCompleteActions(ActionList *list) {
41704170

41714171
rv = action->Parse(line);
41724172
if (rv) {
4173+
delete action;
41734174
free(buf);
41744175
return rv;
41754176
}

0 commit comments

Comments
 (0)