Skip to content

Comments

[Media Common]Fix the user setting memory free#1305

Merged
intel-mediadev merged 1 commit intointel:masterfrom
pingliwa:userSetting
Dec 9, 2021
Merged

[Media Common]Fix the user setting memory free#1305
intel-mediadev merged 1 commit intointel:masterfrom
pingliwa:userSetting

Conversation

@pingliwa
Copy link
Contributor

@pingliwa pingliwa commented Dec 2, 2021

This commit fix the #1300

Signed-off-by: Wang, Pingli pingli.wang@intel.com

Copy link
Contributor

@XinfengZhang XinfengZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a quick fix, should consider the better way in future.

@XinfengZhang XinfengZhang added the verifying PR: fix ready and verifying with build/test label Dec 3, 2021
MOS_AtomicIncrement(&MosUtilities::m_mosMemAllocFakeCounter); //ulValueBuf does not count it, because it is freed after the MEMNJA final report.
MOS_OS_NORMALMESSAGE("ulValueBuf %p for key %s", ulValueBuf, NewKey.pValueArray[0].pcValueName);

m_userSettingMutex.Lock();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about multiple-process case?

@pingliwa
Copy link
Contributor Author

pingliwa commented Dec 3, 2021 via email

@hanlong1
Copy link
Contributor

hanlong1 commented Dec 7, 2021

@pingliwa could you please rebase this PR?

This commit fix the intel#1300

Signed-off-by: Wang, Pingli <pingli.wang@intel.com>
@pingliwa
Copy link
Contributor Author

pingliwa commented Dec 8, 2021

@pingliwa could you please rebase this PR?

Done

@intel-mediadev intel-mediadev merged commit 37a8cad into intel:master Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

verifying PR: fix ready and verifying with build/test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants