Skip to content

SHGetMalloc 削除#2394

Open
gorogoro123 wants to merge 1 commit intosakura-editor:masterfrom
gorogoro123:feature/remove_SHGetMalloc
Open

SHGetMalloc 削除#2394
gorogoro123 wants to merge 1 commit intosakura-editor:masterfrom
gorogoro123:feature/remove_SHGetMalloc

Conversation

@gorogoro123
Copy link
Copy Markdown
Contributor

PR対象

  • アプリ(サクラエディタ本体)

カテゴリ

  • 改善

PR の背景

SHGetMalloc を使用しているが、CoTaskMemAlloc / CoTaskMemFree を使用することが推奨されている。

仕様・動作説明

CoTaskMemFree を使います。

PR の影響範囲

影響なし。

テスト内容

変更部分にbreakを設定し、step 実行して確認する。

  1. マルチユーザの設定を有効にして、設定 - 共通設定 - 設定フォルダ - 開く
  2. ファイルを開いて、左上のアイコンをデスクトップにドラッグする

関連 issue, PR

参考資料

https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetmalloc
https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishellfolder-parsedisplayname

@github-actions
Copy link
Copy Markdown

Test Results

710 tests  ±0   710 ✅ ±0   2m 11s ⏱️ -16s
 83 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 7203b97. ± Comparison against base commit 9c40b00.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant