diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-04-24 11:01:04 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-04-24 11:01:04 -0700 |
commit | 9204780c1ba72cfe252e4dbbac77a446c796904d (patch) | |
tree | a6750db3c307f080f674656613b8df16eb7070a7 /complete.cpp | |
parent | fb2ed355eceec80b8758b1daf137661706ffd5f3 (diff) |
Fix for a missing lock in complete_remove
Diffstat (limited to 'complete.cpp')
-rw-r--r-- | complete.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/complete.cpp b/complete.cpp index 720c1007..e9dca8e3 100644 --- a/complete.cpp +++ b/complete.cpp @@ -528,6 +528,7 @@ void complete_remove( const wchar_t *cmd, { CHECK( cmd, ); scoped_lock lock(completion_lock); + scoped_lock lock2(completion_entry_lock); completion_entry_t tmp_entry(cmd, cmd_is_path, L"", false); completion_entry_set_t::iterator iter = completion_set.find(&tmp_entry); |