corrected SEGFAULT from the dereferencing of a NULL structure member
DiaObject member ops
was dereferenced without checking for a NULL value. Added the …_if_fail()
checks ahead of the dereferencing.
To duplicate this:
- Open a diagram,
- Use the Find dialog
- Close the Find dialog and close the diagram,
- Reopen the diagram,
- Use the Find dialog,
- "BOOM" on use of the 'Find' button.
Edited by John Robertson