瀏覽代碼

* fix memory leak of tcustomattr13

git-svn-id: trunk@43298 -
svenbarth 5 年之前
父節點
當前提交
6f74dd4207
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/test/tcustomattr13.pp

+ 1 - 0
tests/test/tcustomattr13.pp

@@ -190,6 +190,7 @@ begin
     strm.SetSize(ae.ArgLen);
     Move(ae.ArgData^, strm.Memory^, ae.ArgLen);
     CheckProcs[i](strm);
+    strm.Free;
   end;
   Writeln('ok');
 end.