diff options
Diffstat (limited to 'src/lib/libcrypto/dso')
| -rw-r--r-- | src/lib/libcrypto/dso/dso_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/dso/dso_lib.c b/src/lib/libcrypto/dso/dso_lib.c index 882b9c2fcb..3859be7b42 100644 --- a/src/lib/libcrypto/dso/dso_lib.c +++ b/src/lib/libcrypto/dso/dso_lib.c | |||
| @@ -361,8 +361,7 @@ DSO_set_filename(DSO *dso, const char *filename) | |||
| 361 | DSOerr(DSO_F_DSO_SET_FILENAME, ERR_R_MALLOC_FAILURE); | 361 | DSOerr(DSO_F_DSO_SET_FILENAME, ERR_R_MALLOC_FAILURE); |
| 362 | return (0); | 362 | return (0); |
| 363 | } | 363 | } |
| 364 | if (dso->filename) | 364 | free(dso->filename); |
| 365 | free(dso->filename); | ||
| 366 | dso->filename = copied; | 365 | dso->filename = copied; |
| 367 | return (1); | 366 | return (1); |
| 368 | } | 367 | } |
