packet.type = SR_DF_END;
sr_session_send(in->sdi, &packet);
}
- g_free(in->priv);
- in->priv = NULL;
return SR_OK;
}
packet.type = SR_DF_END;
sr_session_send(in->sdi, &packet);
}
- g_free(in->priv);
- in->priv = NULL;
return SR_OK;
}
if (inc->sample_buffer)
g_free(inc->sample_buffer);
- g_free(inc);
- in->priv = NULL;
-
return SR_OK;
}
}
if (in->buf)
g_string_free(in->buf, TRUE);
+ g_free(in->priv);
g_free((gpointer)in);
return ret;
}
g_slist_free_full(inc->channels, free_channel);
- g_free(inc);
- in->priv = NULL;
return SR_OK;
}
packet.type = SR_DF_END;
sr_session_send(in->sdi, &packet);
}
- g_free(in->priv);
- in->priv = NULL;
return SR_OK;
}