[OpenSIPS-Devel] [OpenSIPS/opensips] e2d482: rest_client: Fix a PKG memory leak

Liviu Chircu liviu at opensips.org
Thu Mar 2 11:19:33 EST 2017


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e2d4825b1e05f87554835e5c408937f704f9eb4e
      https://github.com/OpenSIPS/opensips/commit/e2d4825b1e05f87554835e5c408937f704f9eb4e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest_client: Fix a PKG memory leak

The blocking GET / POST / PUT functions would leak PKG memory whenever the
"Content-Type" function parameter was omitted.

Thanks for reporting and troubleshooting to Jim DeVito

(cherry picked from commit 854713857a7fbfc1d0ee9234cd7d85dbb98158dd)

Conflicts:
	modules/rest_client/rest_methods.c




More information about the Devel mailing list