mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
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);
|
fi = _cursor_filenames.find(resolved);
|
||||||
if (fi != _cursor_filenames.end()) {
|
if (fi != _cursor_filenames.end()) {
|
||||||
_cursor_filenames[filename] = (*fi).second;
|
|
||||||
return fi->second;
|
return fi->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user