Commit d0eec80
Tero Heinonen
Fix error case memory leak (ARMmbed#1537)
When panid query was received with missing TLV, scan_ptr was set to NULL without
pointer free. In some cases, that caused memory leak.1 parent da9860f commit d0eec80
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
| 860 | + | |
860 | 861 | | |
861 | 862 | | |
862 | 863 | | |
| |||
875 | 876 | | |
876 | 877 | | |
877 | 878 | | |
878 | | - | |
879 | 879 | | |
880 | 880 | | |
881 | 881 | | |
| |||
0 commit comments