summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/gsm_04_11.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-11-16 22:15:22 +0100
committerHarald Welte <laforge@gnumonks.org>2012-11-16 22:16:46 +0100
commit6c7680d72691a11e9bf7f91fe1938a3c192b3511 (patch)
tree8116563c60897a1da791e4c565fc8596ae2a47e0 /openbsc/src/libmsc/gsm_04_11.c
parent1a2993adb7031c7e908f478e64cf73b44419b500 (diff)
SMPP: build the smpp interface only in case of ./configure --enable-smpp
Diffstat (limited to 'openbsc/src/libmsc/gsm_04_11.c')
-rw-r--r--openbsc/src/libmsc/gsm_04_11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/gsm_04_11.c b/openbsc/src/libmsc/gsm_04_11.c
index 2ed31e37e..fe1b645a0 100644
--- a/openbsc/src/libmsc/gsm_04_11.c
+++ b/openbsc/src/libmsc/gsm_04_11.c
@@ -117,8 +117,10 @@ void sms_free(struct gsm_sms *sms)
subscr_put(sms->sender);
if (sms->receiver)
subscr_put(sms->receiver);
+#ifdef BUILD_SMPP
if (sms->smpp.esme)
smpp_esme_put(sms->smpp.esme);
+#endif
talloc_free(sms);
}