summaryrefslogtreecommitdiffstats
path: root/src/p_line.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_line.c')
-rw-r--r--src/p_line.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/p_line.c b/src/p_line.c
index aafc900..a9a918c 100644
--- a/src/p_line.c
+++ b/src/p_line.c
@@ -44,7 +44,6 @@ void
}
if (p_lcom(line, count, msh) < 0)
{
- s_destroy(msh);
- f_fail_alloc(msh);
+ f_alloc_and_destroy_msh(msh);
}
}