L
let_it_be
Unregistered / Unconfirmed
GUEST, unregistred user!
function TFrSlUser.getSelectUsers: TStringList;
begin
Result:=TStringList.Create;
result.add('aaaaa')
end;
这样好像没有将result.free,会不会造成内存泄漏?
另外:
class function TfmSendto.SendOut: boolean;
begin
with Create(nil) do
try
showModal;
result:=ModalResult=mrOk;
finally
Release
//这个Release要不要?
end;
end;
begin
Result:=TStringList.Create;
result.add('aaaaa')
end;
这样好像没有将result.free,会不会造成内存泄漏?
另外:
class function TfmSendto.SendOut: boolean;
begin
with Create(nil) do
try
showModal;
result:=ModalResult=mrOk;
finally
Release
//这个Release要不要?
end;
end;