[OpenWrt-Devel] [PATCH rpcd v2 0/6] memory issue fixes

Yousong Zhou yszhou4tech at gmail.com
Mon Oct 21 02:10:25 EDT 2019


v2 <- v1

 - Added two fixes suggested by scan-build result [1]

[1] https://ynezz.gitlab.io/-/openwrt-rpcd/-/jobs/323420230/artifacts/build/scan/2019-10-17-075741-163-1/index.html 

Yousong Zhou (6):
  plugin: exec: properly free memory on parse error
  exec: properly free memory on rpc_exec() error
  exec: alway call finish_cb to allow plugin to free up memory
  uci: free configs list memory on return
  file: exec: properly free memory on error
  main: exec_self: make clang analyzer happy

 exec.c   | 18 +++++++++++-------
 file.c   | 18 +++++++++++++++---
 main.c   | 10 +++++++---
 plugin.c | 13 ++++++++++---
 uci.c    |  2 ++
 5 files changed, 45 insertions(+), 16 deletions(-)


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list