aboutsummaryrefslogtreecommitdiff
path: root/src/rc-plugin.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-19 14:54:35 +0000
committerRoy Marples <roy@marples.name>2007-04-19 14:54:35 +0000
commit2569e85579bc5c7d676865b386398119f04a5912 (patch)
tree41724e54856c9323b53428e49258f56f1102c0ed /src/rc-plugin.c
parent3ed60d52026c484dce2d1856ea3bb893b8ee7d92 (diff)
strdup -> rc_xstrdup
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 d5476c81..8a39e97d 100644
--- a/src/rc-plugin.c
+++ b/src/rc-plugin.c
@@ -77,7 +77,7 @@ void rc_plugin_load (void)
plugin = plugins = rc_xmalloc (sizeof (plugin_t));
memset (plugin, 0, sizeof (plugin_t));
- plugin->name = strdup (file);
+ plugin->name = rc_xstrdup (file);
plugin->handle = h;
plugin->hook = f;
}