Line 0
Link Here
|
|
|
1 |
--- gio/gthreadedresolver.c.orig |
2 |
+++ gio/gthreadedresolver.c |
3 |
@@ -836,6 +836,7 @@ |
4 |
* worker thread. (Although the workers would get reused by the |
5 |
* #GThreadPool.) */ |
6 |
struct __res_state res; |
7 |
+ memset( &res, 0, sizeof( res )); |
8 |
if (res_ninit (&res) != 0) |
9 |
{ |
10 |
g_task_return_new_error (task, G_RESOLVER_ERROR, G_RESOLVER_ERROR_INTERNAL, |