Skip to content

Commit

Permalink
[gui]: Fix a double-free
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinDrab committed Jun 22, 2019
1 parent 86bb11c commit d9efd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/FillterForm.pas
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,10 @@
If Assigned(f) Then
begin
ErrorMessage('The filter is already present in the list');
f := Nil;
Exit;
end;

f := Nil;
f := TRequestFilter.NewInstance(rt);
If Not Assigned(f) Then
Exit;
Expand Down

0 comments on commit d9efd13

Please sign in to comment.