Commit 7c4de39e authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Do not access the internal C++ pointer directly, use the c-tools macro for that.

parent f8f072fb
......@@ -516,8 +516,8 @@ void linphone_call_params_unref(LinphoneCallParams *cp) {
LinphoneCallParams * linphone_call_params_new(LinphoneCore *core) {
LinphoneCallParams *params = _linphone_call_params_init();
params->cppPtr = new LinphonePrivate::MediaSessionParams();
L_SET_CPP_PTR_FROM_C_STRUCT(params, new LinphonePrivate::MediaSessionParams());
return params;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment