Change LLDstringDelete to LLDdeleteString

This commit is contained in:
Douglas Clowes
2015-07-29 17:46:34 +10:00
parent 64b212c4a0
commit 7ccbf7e0bd
2 changed files with 3 additions and 1 deletions

View File

@ -1035,7 +1035,7 @@ static void printList(SConnection * pCon, int listID)
static void freeList(int listID)
{
do {
LLDstringDelete(listID);
LLDdeleteString(listID);
} while (0 != LLDnodePtr2First(listID));
LLDdelete(listID);
}

View File

@ -21,6 +21,8 @@
#define LLDstringCreate() LLDblobCreate()
#define LLDdeleteString(l) LLDdeleteBlob(l)
#define LLDstringInsert(l,s) LLDblobInsert( l, s, strlen( s ) +1 )
#define LLDstringAdd(l,s) LLDblobAdd( l, s, strlen( s ) +1 )