File dx-4.4.4-leak-fix.patch of Package dx

--- src/uipp/dxuilib/DXLinkHandler.C	2003-07-12 02:12:20.000000000 +0200
+++ src/uipp/dxuilib/DXLinkHandler.C	2009-09-17 10:27:00.000000000 +0200
@@ -402,13 +402,15 @@
 */
 boolean DXLinkHandler::OpenNetwork(const char *c, int id, void *va)
 {
-    char *buf = new char[strlen(c)+1];
+    char *buf;
     char *d, *e, *cfg, *net;
 	int len=0;
 
 	if( !c ) 
 	  return TRUE;
 
+    buf = new char[strlen(c)+1];
+
 	e = buf;
 	strcpy(buf, c);
 	/* remove leading spaces */