diff options
author | Philippe De Swert <philippedeswert@scarlet.be> | 2006-01-20 23:12:20 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-20 23:12:20 +0000 |
commit | 1684cc46b3bc9cd9a337bd220d0da4bd77ef292a (patch) | |
tree | eac01c8aba36d39b3b1a4dff21f613288d898747 /packages/gtk-webcore | |
parent | fff27a537eb7305d05e8052593a6359a4f0b0b74 (diff) |
osb-nrcore_20050430 : add patch to fix library segfault
Diffstat (limited to 'packages/gtk-webcore')
-rw-r--r-- | packages/gtk-webcore/files/setHandle_segfault-fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/gtk-webcore/files/setHandle_segfault-fix.patch b/packages/gtk-webcore/files/setHandle_segfault-fix.patch new file mode 100644 index 0000000000..9ebdfeebe5 --- /dev/null +++ b/packages/gtk-webcore/files/setHandle_segfault-fix.patch @@ -0,0 +1,16 @@ +--- NRCore/kwiq/KWQResourceLoader.cpp.orig 2006-01-21 00:13:32.000000000 +0200 ++++ NRCore/kwiq/KWQResourceLoader.cpp 2006-01-20 23:52:59.000000000 +0200 +@@ -56,8 +56,11 @@ + void KWQResourceLoader::setHandle(WebCoreResourceHandle* handle) + { + ASSERT(!_handle); +- handle->retain(); +- _handle = handle; ++ if (handle) ++ { ++ handle->retain(); ++ _handle = handle; ++ } + } + + void KWQResourceLoader::receivedResponse(KWIQResponse* response) |