summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index 67b28db5..43418d94 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -53,11 +53,8 @@ alpm_handle_t *_alpm_handle_new(void)
pthread_mutex_init(&(handle->tlock_log), NULL);
pthread_mutex_init(&(handle->tlock_task), NULL);
pthread_key_create(&(handle->tkey_err), free);
- pthread_setspecific(handle->tkey_err, malloc(sizeof(int)));
#endif
- _alpm_set_errno(handle, 0);
-
return handle;
}