[OpenSIPS-Devel] [OpenSIPS/opensips] 63b2a5: [proto_hep] fix bug introduced in 7190a2d

ionutrazvanionita ionutionita at opensips.org
Wed Sep 28 13:39:21 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 63b2a52c2c2d453ccf889cc5e74991a2c81aaccd
      https://github.com/OpenSIPS/opensips/commit/63b2a52c2c2d453ccf889cc5e74991a2c81aaccd
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-09-28 (Wed, 28 Sep 2016)

  Changed paths:
    M modules/proto_hep/hep.c
    M modules/proto_hep/proto_hep.c

  Log Message:
  -----------
  [proto_hep] fix bug introduced in 7190a2d

	Commit 7190a2d was freeing the extra chunks twice when
the message was processed as SIP. Now the original hep context
free function is not registered as a context free function, but
called manually each time all the hep processing is done. This
way we avoid the memory leaks that appeared when the message was
not a SIP message, and the chunks were not freed.




More information about the Devel mailing list