diff --git a/mbuni/ChangeLog b/mbuni/ChangeLog index 555e4d3..7cdca0a 100644 --- a/mbuni/ChangeLog +++ b/mbuni/ChangeLog @@ -1,4 +1,4 @@ -2007-08020 P. A. Bagyenda +2007-08-20 P. A. Bagyenda * Generalised MMS Queue handling interface to allow different storage/delivery mechanisms. 2007-08-09 P. A. Bagyenda * Added send-dlr-on-fetch config param to MMC settings diff --git a/mbuni/mmlib/mms_queue.c b/mbuni/mmlib/mms_queue.c index 0f8abb7..142ece6 100644 --- a/mbuni/mmlib/mms_queue.c +++ b/mbuni/mmlib/mms_queue.c @@ -1086,8 +1086,8 @@ static int run_dir(char *topdir, char *dir, struct Qthread_t *tlist, int num_thr } if (dirp) closedir(dirp); done: - if (tdir) - octstr_destroy(tdir); + + octstr_destroy(tdir); return ret; }