diff --git a/src/rc/rc-depend.c b/src/rc/rc-depend.c index 7a4656e1..50227cc5 100644 --- a/src/rc/rc-depend.c +++ b/src/rc/rc-depend.c @@ -170,7 +170,7 @@ rc_depend(int argc, char **argv) options &= RC_DEP_TRACE; break; case 'F': - deptree_file = strdup(optarg); + deptree_file = xstrdup(optarg); break; case_RC_COMMON_GETOPT