diff options
Diffstat (limited to 'source.c')
-rw-r--r-- | source.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -194,7 +194,7 @@ uc_source_runpath_set(uc_source_t *source, const char *runpath) if (source->runpath != source->filename) free(source->runpath); - source->runpath = xstrdup(runpath); + source->runpath = runpath ? xstrdup(runpath) : NULL; } bool |