mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
ANDROID: Incremental fs: Fix memory leak on closing file
Bug: 179271514 Test: incfs_test passes Signed-off-by: Paul Lawrence <paullawrence@google.com> Change-Id: Idc42d02b1df5ac84bdd04e728bfcca5f4cc5d07b
This commit is contained in:
parent
29b2beadc6
commit
152fd8f044
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ void incfs_free_data_file(struct data_file *df)
|
|||
for (i = 0; i < ARRAY_SIZE(df->df_segments); i++)
|
||||
data_file_segment_destroy(&df->df_segments[i]);
|
||||
incfs_free_bfc(df->df_backing_file_context);
|
||||
kfree(df->df_signature);
|
||||
kfree(df);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue