summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6f577dd)
If the caller is a one-shot source then the description could well have
gone by the time we end up printing a message.
/* --- Dispose of the block --- */
REFFD_DEC(i->q.r);
/* --- Dispose of the block --- */
REFFD_DEC(i->q.r);
+ xfree((/*unconst*/ char *)i->q.desc);
i = xmalloc(sizeof(*i));
i->q = *q;
i = xmalloc(sizeof(*i));
i->q = *q;
+ i->q.desc = xstrdup(q->desc);
REFFD_INC(i->q.r);
str_sanitize(i->host, inet_ntoa(q->rsin.sin_addr), sizeof(i->host));
REFFD_INC(i->q.r);
str_sanitize(i->host, inet_ntoa(q->rsin.sin_addr), sizeof(i->host));