Fix some valgrind issues
[scilab.git] / scilab / modules / fftw / src / c / fftwlibname.c
index 855c193..0429d57 100644 (file)
@@ -44,3 +44,11 @@ char *getfftwlibname(void)
     return name;
 }
 /*--------------------------------------------------------------------------*/
+void freefftwlibname(void)
+{
+    if (fftwlibname)
+    {
+        FREE(fftwlibname);
+    }
+}
+/*--------------------------------------------------------------------------*/