From dec2f876c2d7162da213429bce1a7140cdbdd734 Mon Sep 17 00:00:00 2001
From: "R. Bernstein" <rocky@gnu.org>
Date: Sat, 23 Dec 2017 12:19:29 -0500
Subject: [PATCH] Removed wrong line

---
 configure.ac               | 2 +-
 lib/driver/_cdio_generic.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/driver/_cdio_generic.c b/lib/driver/_cdio_generic.c
index ae820d25..4a7fcadf 100644
--- a/lib/driver/_cdio_generic.c
+++ b/lib/driver/_cdio_generic.c
@@ -296,7 +296,7 @@ get_cdtext_generic (void *p_user_data)
 
       if(len <= 0 || 0 != cdtext_data_init (p_env->cdtext, &p_cdtext_data[4], len)) {
         p_env->b_cdtext_error = true;
-        free(p_env->cdtext);
+        cdtext_destroy (p_env->cdtext);
         p_env->cdtext = NULL;
       }
 
-- 
2.14.3

