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

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


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f22b8842da5f43473599d0cc3d47b62adc923642
      https://github.com/OpenSIPS/opensips/commit/f22b8842da5f43473599d0cc3d47b62adc923642
  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.

(cherry picked from commit 63b2a52c2c2d453ccf889cc5e74991a2c81aaccd)




More information about the Devel mailing list