From 1cc18f23313ad098b5e307540728888bae544238 Mon Sep 17 00:00:00 2001
From: BenceJanosSzabo <bence.janos.szabo@ericsson.com>
Date: Tue, 18 Oct 2016 14:37:47 +0200
Subject: [PATCH] Makefilegen segmentation fault fix

Change-Id: Ibc76e3384cd067bd7a1bf81cfdc817425799630c
Signed-off-by: BenceJanosSzabo <bence.janos.szabo@ericsson.com>
---
 compiler2/xpather.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler2/xpather.cc b/compiler2/xpather.cc
index e1f411a10..282158ed6 100644
--- a/compiler2/xpather.cc
+++ b/compiler2/xpather.cc
@@ -1913,7 +1913,6 @@ static tpd_result process_tpd_internal(const char *p_tpd_name, char *tpdName, co
           if(abs_dir_path != NULL && !drop){
             files.add(cpath, ruri); // relativeURI to the TPD location
           }else {
-            cpath.destroy();
             result = TPD_FAILED;
           }
           { // set the *preprocess value if .ttcnpp file was found
-- 
GitLab