diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-08-24 15:55:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 15:55:35 +0200 |
commit | 66bbda7fdc5dfdc1b0ed587a4f8cfc72b1c34a3b (patch) | |
tree | 0a089858e2f2fbf2c19440be8dda7e945667d83b /source.c | |
parent | 796a9471bfe69007678d83ba279f9b24cfd17ec1 (diff) | |
parent | 131d99c45e586e06d2fa3adba32e92c0370ad022 (diff) |
Merge pull request #101 from jow-/loadfile-support
lib: introduce three new functions call(), loadstring() and loadfile()
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 |