Blob Blame History Raw
diff --git a/swig/openscap.i b/swig/openscap.i
index ffe0bb87a..ed1dab36c 100644
--- a/swig/openscap.i
+++ b/swig/openscap.i
@@ -87,7 +87,6 @@
     }
     $1[i] = 0;
   } else {
-    free($1);
     PyErr_SetString(PyExc_TypeError,"not a list");
     SWIG_fail;
   }