Temporary variable service may leak memory at abnormal cases in function sm_service_table_add.
Bug #1837976 reported by
YeHuiSheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
YeHuiSheng |
Bug Description
In the function sm_service_
However, if sm_service_
Then, the temporary variable service will leak the memory which is malloc in the function sm_service_
So, we need to add free function in these abnormal cases.
Changed in starlingx: | |
assignee: | nobody → YeHuiSheng (hsye) |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/672896
Review: https:/