From 6c1cc4d59f3f07e2ca0f6aef7d1f2c7c440a90b6 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Thu, 5 May 2005 05:48:52 +0000 Subject: [PATCH] Minor fix to mmsproxy --- mbuni/libtool | 8 ++++---- mbuni/mmsc/mmsproxy.c | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/mbuni/libtool b/mbuni/libtool index d873f3c..c629070 100755 --- a/mbuni/libtool +++ b/mbuni/libtool @@ -44,7 +44,7 @@ available_tags=" CXX" # ### BEGIN LIBTOOL CONFIG -# Libtool was configured on host lilo.local: +# Libtool was configured on host stitch.ds.co.ug: # Shell to use when invoking shell scripts. SHELL="/bin/sh" @@ -66,7 +66,7 @@ fast_install=yes # The host system. host_alias= -host=powerpc-apple-darwin7.9.0 +host=powerpc-apple-darwin8.0.0 # An echo program that does not interpret backslashes. echo="echo" @@ -6630,7 +6630,7 @@ build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` # End: # ### BEGIN LIBTOOL TAG CONFIG: CXX -# Libtool was configured on host lilo.local: +# Libtool was configured on host stitch.ds.co.ug: # Shell to use when invoking shell scripts. SHELL="/bin/sh" @@ -6652,7 +6652,7 @@ fast_install=needless # The host system. host_alias= -host=powerpc-apple-darwin7.9.0 +host=powerpc-apple-darwin8.0.0 # An echo program that does not interpret backslashes. echo="echo" diff --git a/mbuni/mmsc/mmsproxy.c b/mbuni/mmsc/mmsproxy.c index 8989357..2539175 100644 --- a/mbuni/mmsc/mmsproxy.c +++ b/mbuni/mmsc/mmsproxy.c @@ -2001,7 +2001,8 @@ static void free_clientInfo(MmsHTTPClientInfo *h, int freeh) if (h->base_client_addr) octstr_destroy(h->base_client_addr); - octstr_destroy(h->client_addr); + if (h->client_addr) + octstr_destroy(h->client_addr); http_destroy_cgiargs(h->cgivars); http_destroy_headers(h->headers);