hhctrl: Avoid accessing invalid pointers

James Hawkins truiken at gmail.com
Wed Sep 14 00:50:35 CDT 2005


This keeps hhctrl from crashing when some part of EmbedBrowser fails.

* Zero the WBInfo struct to get rid of invalid pointers.
* Store object pointers in the WBInfo struct as they're created.

James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mem-errs.diff
Type: text/x-patch
Size: 1891 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050914/b7c71042/mem-errs.diff

More information about the wine-patches mailing list