aboutsummaryrefslogtreecommitdiff
path: root/src/rc-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-plugin.c')
-rw-r--r--src/rc-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-plugin.c b/src/rc-plugin.c
index b43d4990..8bd50849 100644
--- a/src/rc-plugin.c
+++ b/src/rc-plugin.c
@@ -91,7 +91,7 @@ void rc_plugin_load (void)
plugin = plugins = xmalloc (sizeof (plugin_t));
memset (plugin, 0, sizeof (plugin_t));
- plugin->name = strdup (d->d_name);
+ plugin->name = xstrdup (d->d_name);
plugin->handle = h;
plugin->hook = fptr;
}