diff options
| author | liuxueli <[email protected]> | 2021-05-20 09:18:02 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2021-05-20 09:18:02 +0800 |
| commit | fb04876ca457939318c20d66af1663a2ff6a8e2f (patch) | |
| tree | 7ffe8997f40f76f66079d076775296be4002e82f | |
| parent | 2dec508610b2c58088b0bc00f74d5418e3f5925b (diff) | |
释放为GTP信令申请的内存,修复内存泄漏v4.2.1
| -rw-r--r-- | src/tsg_gtp_signaling.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tsg_gtp_signaling.cpp b/src/tsg_gtp_signaling.cpp index c721e29..9cfab94 100644 --- a/src/tsg_gtp_signaling.cpp +++ b/src/tsg_gtp_signaling.cpp @@ -97,6 +97,9 @@ void free_gtp_signaling_field(void *data) } } + free(data); + data=NULL; + return ; } |
