[Kst] kdeextragear-2/kst/kst/datasources/netcdf

George Staikos staikos at kde.org
Mon Apr 4 20:28:32 CEST 2005


CVS commit by staikos: 

memory leak


  M +3 -1      netcdf.cpp   1.3


--- kdeextragear-2/kst/kst/datasources/netcdf/netcdf.cpp  #1.2:1.3
@@ -242,6 +242,8 @@ int understands_netcdf(KConfig*, const Q
     delete ncfile;
     return 80;
+  } else {
+    delete ncfile;
+    return 0;
   }
-  else return 0;
 
 }




More information about the Kst mailing list