don't leak      for ( int i = 1 ; i <= numTransports ; i++ ) { -      KMTransportInfo *ti = new KMTransportInfo(); -      ti->readConfig(i); -      transportNames << ti->name; +      KMTransportInfo ti; +      ti.readConfig(i); +      transportNames << ti.name;      }
don't leak
     for ( int i = 1 ; i <= numTransports ; i++ ) {
-      KMTransportInfo *ti = new KMTransportInfo();
-      ti->readConfig(i);
-      transportNames << ti->name;
+      KMTransportInfo ti;
+      ti.readConfig(i);
+      transportNames << ti.name;
     }

svn path=/trunk/kdenetwork/kmail/; revision=185946

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi