From 7ccbf7e0bd43cfd90b6acac80b0e661795992e82 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Wed, 29 Jul 2015 17:46:34 +1000 Subject: [PATCH] Change LLDstringDelete to LLDdeleteString --- SCinter.c | 2 +- lld_str.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/SCinter.c b/SCinter.c index 1d5cd1a4..87695dc8 100644 --- a/SCinter.c +++ b/SCinter.c @@ -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); } diff --git a/lld_str.h b/lld_str.h index 61280471..a3274759 100644 --- a/lld_str.h +++ b/lld_str.h @@ -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 )