diff options
| author | NIIBE Yutaka <[email protected]> | 2025-11-25 01:17:19 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-11-25 01:17:19 +0000 |
| commit | aab29b1286936fbddacdc8fffe2f0399fee668d7 (patch) | |
| tree | 846011c8f5d108f2311d5a783d95d523a5d0edb6 /mpi/hppa/mpih-rshift.S | |
| parent | common:dotlock: Comment fixes. (diff) | |
| download | gnupg-aab29b1286936fbddacdc8fffe2f0399fee668d7.tar.gz gnupg-aab29b1286936fbddacdc8fffe2f0399fee668d7.zip | |
kbx:sqlite: Don't call dotlock_release.
* kbx/backend-sqlite.c (create_or_open_database): Remove call to
dotlock_release, as dotlock_destroy cares the lock if any.
--
Simply calling dotlock_release was wrong when considering the possible
database_lock==NULL. The check with dotlock_is_locked was added to
avoid warning when not locked, but dotlock_release is not needed here.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'mpi/hppa/mpih-rshift.S')
0 files changed, 0 insertions, 0 deletions
