fix double free in osmo_gsup_client_enc_send()
Change-Id: Iee675fd498ab0867ac2411d9142358f513276182
This commit is contained in:
parent
2b0bf31183
commit
7d2843df4c
|
@ -386,7 +386,8 @@ int osmo_gsup_client_enc_send(struct osmo_gsup_client *gsupc,
|
||||||
rc = osmo_gsup_client_send(gsupc, gsup_msgb);
|
rc = osmo_gsup_client_send(gsupc, gsup_msgb);
|
||||||
if (rc) {
|
if (rc) {
|
||||||
LOGP(DLGSUP, LOGL_ERROR, "Couldn't send GSUP message\n");
|
LOGP(DLGSUP, LOGL_ERROR, "Couldn't send GSUP message\n");
|
||||||
goto error;
|
/* Do not free, osmo_gsup_client_send() already has. */
|
||||||
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue