I 'm getting warning each time and It donot get value in erl_xbuff after this change.
"============================================== WARNING: <core> [core/mem/q_malloc.c:480]: qm_free(): WARNING: free(0) called from erlang: pv_xbuff.c: xavp_decode(1209) ALERT: <script>: 520:type(auth_repl): <null>, format(auth_repl): <null> =============================================="