fix small issue

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8341 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-05-09 19:35:51 +00:00
parent a12d1bb34d
commit 67427b0396
2 changed files with 8 additions and 2 deletions
+1
View File
@@ -101,6 +101,7 @@ struct sofia_private {
sofia_gateway_t *gateway;
char gateway_name[512];
int destroy_nh;
int destroy_me;
};
#define set_param(ptr,val) if (ptr) {free(ptr) ; ptr = NULL;} if (val) {ptr = strdup(val);}