Skip to content

Commit

Permalink
fix stupid null de-ref bug from previous release
Browse files Browse the repository at this point in the history
closes #423

karl
  • Loading branch information
karlheyes committed Jun 20, 2023
1 parent b79a113 commit e414f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source.c
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,7 @@ void source_update_settings (ice_config_t *_c, source_t *source, mount_proxy *mo
}
stats_lock (source->stats, source->mount);

if (mountinfo->listenurl)
if (mountinfo && mountinfo->listenurl)
{
INFO2 ("Using supplied listen url for %s (%s)", source->mount, mountinfo->listenurl);
stats_set_flags (source->stats, "listenurl", mountinfo->listenurl, STATS_COUNTERS);
Expand Down

0 comments on commit e414f65

Please sign in to comment.