diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-03-03 12:02:13 -0500 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-03-03 12:02:13 -0500 |
| commit | 592d204b0029fd9157f604e5814869075077d486 (patch) | |
| tree | 5210b5df3a102e862ce2f750910cc9583b3facc4 /src/lib | |
| parent | 83eaa4f04022170dc71221a0bc5d2f6dc90e9565 (diff) | |
| download | stasis-592d204b0029fd9157f604e5814869075077d486.tar.gz | |
Bugfix: Memory leaked in version value reassignment
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/delivery/delivery_install.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/delivery/delivery_install.c b/src/lib/delivery/delivery_install.c index f1637a3..f40a509 100644 --- a/src/lib/delivery/delivery_install.c +++ b/src/lib/delivery/delivery_install.c @@ -277,7 +277,8 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha // not found fprintf(stderr, "No wheel packages found that match the description of '%s'", info->name); } else { - // found + // found, replace the original version with newly detected version + guard_free(info->version); info->version = strdup(whl->version); } guard_strlist_free(&tag_data); |
