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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc-plugin.c b/src/rc-plugin.c
index b367228f..b43d4990 100644
--- a/src/rc-plugin.c
+++ b/src/rc-plugin.c
@@ -85,13 +85,13 @@ void rc_plugin_load (void)
dlclose (h);
} else {
if (plugin) {
- plugin->next = rc_xmalloc (sizeof (plugin_t));
+ plugin->next = xmalloc (sizeof (plugin_t));
plugin = plugin->next;
} else
- plugin = plugins = rc_xmalloc (sizeof (plugin_t));
+ plugin = plugins = xmalloc (sizeof (plugin_t));
memset (plugin, 0, sizeof (plugin_t));
- plugin->name = rc_xstrdup (d->d_name);
+ plugin->name = strdup (d->d_name);
plugin->handle = h;
plugin->hook = fptr;
}