浏览代码

* use StrDispose instead of Dispose in the libgdb.a implementation of GetIntRegister

git-svn-id: trunk@29804 -
nickysn 10 年之前
父节点
当前提交
bd467adf52
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/gdbint/src/gdbcon.pp

+ 1 - 1
packages/gdbint/src/gdbcon.pp

@@ -359,7 +359,7 @@ begin
   end;
   strlcopy(buffer,p,p1-p);
   RegValueStr:=strpas(buffer);
-  Dispose(po);
+  StrDispose(po);
 
   { replace the $? }
   if copy(RegValueStr,1,2)='0x' then