Don't store two references to X11 Cursor, or we double free at shutdown
This commit is contained in:
parent
a7d56f0e65
commit
fe058dfb32
|
|
@ -2146,7 +2146,6 @@ get_cursor(const Filename &filename) {
|
|||
}
|
||||
fi = _cursor_filenames.find(resolved);
|
||||
if (fi != _cursor_filenames.end()) {
|
||||
_cursor_filenames[filename] = (*fi).second;
|
||||
return fi->second;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue