X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Futils.c;h=2b251e31e8518c33e2e33e45320802e85a027c57;hb=3a42b6b1d0b8f9e8ce5c77e838e2573bbfabe593;hp=2ecae5a6c0a1056135d029a4b54935736feaf902;hpb=5fc1bf9ffd24123e1fafbfc8b58c4338521ec0e6;p=ashd.git diff --git a/lib/utils.c b/lib/utils.c index 2ecae5a..2b251e3 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -163,6 +163,8 @@ void freeca(char **ca) { char **c; + if(ca == NULL) + return; for(c = ca; *c; c++) free(*c); free(ca);