diff options
Diffstat (limited to 'crypto/dso/dso_lib.c')
| -rw-r--r-- | crypto/dso/dso_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/dso/dso_lib.c b/crypto/dso/dso_lib.c index 9d755986d755..e742c69c37d1 100644 --- a/crypto/dso/dso_lib.c +++ b/crypto/dso/dso_lib.c @@ -154,7 +154,7 @@ DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags) } /* Load succeeded */ return ret; - err: +err: if (allocated) DSO_free(ret); return NULL; @@ -305,7 +305,7 @@ int DSO_pathbyaddr(void *addr, char *path, int sz) ERR_raise(ERR_LIB_DSO, DSO_R_UNSUPPORTED); return -1; } - return (*meth->pathbyaddr) (addr, path, sz); + return (*meth->pathbyaddr)(addr, path, sz); } DSO *DSO_dsobyaddr(void *addr, int flags) @@ -319,7 +319,7 @@ DSO *DSO_dsobyaddr(void *addr, int flags) filename = OPENSSL_malloc(len); if (filename != NULL - && DSO_pathbyaddr(addr, filename, len) == len) + && DSO_pathbyaddr(addr, filename, len) == len) ret = DSO_load(NULL, filename, NULL, flags); OPENSSL_free(filename); @@ -334,5 +334,5 @@ void *DSO_global_lookup(const char *name) ERR_raise(ERR_LIB_DSO, DSO_R_UNSUPPORTED); return NULL; } - return (*meth->globallookup) (name); + return (*meth->globallookup)(name); } |
