diff options
Diffstat (limited to 'rpmio/rpmhook.c')
-rw-r--r-- | rpmio/rpmhook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmhook.c b/rpmio/rpmhook.c index 8e5f695a3..6c9b63acf 100644 --- a/rpmio/rpmhook.c +++ b/rpmio/rpmhook.c @@ -132,7 +132,7 @@ static void rpmhookTableAddItem(rpmhookTable *table, const char *name, rpmhookBucket bucket = &(*table)->bucket[n]; rpmhookItem *item = &bucket->item; if (!bucket->name) { - bucket->name = strdup(name); + bucket->name = xstrdup(name); (*table)->used++; } while (*item) item = &(*item)->next; |