summaryrefslogtreecommitdiff
path: root/plugins/ImportTXT/General.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ImportTXT/General.pas')
-rw-r--r--plugins/ImportTXT/General.pas9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/ImportTXT/General.pas b/plugins/ImportTXT/General.pas
index f68486afac..0a53d03ffc 100644
--- a/plugins/ImportTXT/General.pas
+++ b/plugins/ImportTXT/General.pas
@@ -342,11 +342,6 @@ begin
result := Proto_GetProtoName(hContact);
end;
-function DBFreeVariant(dbv: PDBVARIANT): integer;
-begin
- result := db_free(dbv);
-end;
-
function GetContactID(hContact: THandle; proto: AnsiString = '';
Contact: boolean = false): WideString;
var
@@ -387,7 +382,7 @@ begin
result := dbv.szVal.w;
end;
// free variant
- DBFreeVariant(@dbv);
+ db_free(@dbv);
end;
end;
end;
@@ -429,7 +424,7 @@ begin
result := dbv.szVal.w;
end;
// free variant
- DBFreeVariant(@dbv);
+ db_free(@dbv);
end;
end;
end;