Skip to content

operate: fix memory issues

Daniel Danzberger requested to merge devel-prpl into devel
  • Fix memleak of not free'd json_tokener_parse memory
  • Make read-only memory const

Note that this commit changes the operation input argument from 'char *' to 'json_object *', which breaks older dynamic_operate implementations from outisde the bbf source tree.

Signed-off-by: Daniel Danzberger daniel@dd-wrt.com

Merge request reports