Open
fix: destroy mapt mutex on create failure #25
fix: destroy mapt mutex on create failure #25
Open
dtwAdd on May 28
dtw
dtw
May 28

Summary

  • Destroy mapt_mutex before freeing mapt_info on create failure.
  • Keep successful create/destroy behavior unchanged.

Verification

  • git diff --check
  • Static confirmation: ummu_alloc_mapt_mem() initializes mapt_mutex before ummu_queue_create() and later setup run, so the err_queue_create path must destroy that mutex before freeing the object.

Fixes: #9

likedislike
Merge blocked
dtwdtw
May 28 Created pull request, commit 0c4356ba
dtwdtw
May 28 Associated issue: ummu_mapt_create leaks initialized mutex on failure paths
openeuler-ci-botopeneuler-ci-botCollaborators
May 28 Set will_niutao,liliang_euler,linyunsheng,hanjunguo,jerry_lilijun as approver
openeuler-ci-botopeneuler-ci-botCollaborators
May 28 Added label: sig/sig-UnifiedBus
openeuler-ci-bot
openeuler-ci-botCollaborators
May 28 Comments:

Welcome To openEuler Community

Hey @udhdbaa , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: sig-UnifiedBus ,
and any of the maintainers: @hanjunguo, @jerry_lilijun, @liliang_euler, @linyunsheng, @will_niutao ,
and any of the committers: @Tankll2021, @fangfeng123 .

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
May 28 Added label: openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-botCollaborators
May 28 Comments:

CLA Signature Pass

udhdbaa, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike