I guess there are no cases when one would try to duplicate src->s==NULL, or at least not an intentional case. Anyhow, printing a warning instead of a segfault is more friendly for runtime. You can merge if you prefer this version.
—
Reply to this email directly or view it on GitHub.