diff options
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c index 474589d6..fddbc24f 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -188,6 +188,8 @@ loader_icd_create(const char *filename) if (!icd) return NULL; + memset(icd, 0, sizeof(*icd)); + icd->handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL); if (!icd->handle) { loader_log(XGL_DBG_MSG_WARNING, 0, dlerror()); |
