summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-01-30 18:59:36 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2018-01-30 18:59:36 +0100
commit2182e884045b55c98b0945f98d99cfcff73b6c4d (patch)
tree05e0079969e45bc940c15adaae9a6789053782f9
parent18986691ff57d00bb3c98b5be5b6d243fe12f002 (diff)
libmgcp: osmux_config is not a talloc context, don't use it as such
-rw-r--r--openbsc/src/libmgcp/mgcp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmgcp/mgcp_vty.c b/openbsc/src/libmgcp/mgcp_vty.c
index fc91ebcc8..e40e4d5b4 100644
--- a/openbsc/src/libmgcp/mgcp_vty.c
+++ b/openbsc/src/libmgcp/mgcp_vty.c
@@ -1507,7 +1507,7 @@ DEFUN(cfg_osmux_ip,
{
struct osmux_config *cfg = vty->index;
- osmo_talloc_replace_string(cfg, &cfg->osmux_addr, argv[0]);
+ osmo_talloc_replace_string(NULL, &cfg->osmux_addr, argv[0]);
return CMD_SUCCESS;
}