mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
mgcp-cli: Mark iofd ptr as NULL when freed
Change-Id: Ie3cd7b49c9cd5514f81289ac5ec1ccee14c8509c
This commit is contained in:
@@ -1051,6 +1051,7 @@ void mgcp_client_disconnect(struct mgcp_client *mgcp)
|
||||
osmo_iofd_txqueue_clear(mgcp->iofd);
|
||||
LOGPMGW(mgcp, LOGL_INFO, "MGCP association: %s -- closed!\n", osmo_iofd_get_name(mgcp->iofd));
|
||||
osmo_iofd_free(mgcp->iofd);
|
||||
mgcp->iofd = NULL;
|
||||
}
|
||||
|
||||
/*! Get the IP-Aaddress of the associated MGW as string.
|
||||
|
Reference in New Issue
Block a user