--- gob2-2.0.13-ORIG/src/main.c	2005-12-16 21:17:24.000000000 +0100
+++ gob2-2.0.13/src/main.c	2005-12-20 15:32:30.000000000 +0100
@@ -3078,7 +3078,7 @@ open_files(void)
 	outfilebase = g_strconcat (fullfilebase, for_cpp ? ".cc" : ".c", NULL);
 	outfile = g_strconcat(outfilebase, no_touch ? "#gob#" : "", NULL);
 
-	outfilehbase = g_strconcat (fullfilebase, ".h");
+	outfilehbase = g_strconcat (fullfilebase, ".h", NULL);
 	outfileh = g_strconcat(outfilehbase, no_touch_headers ? "#gob#" : "", NULL);
 
 	if ((privates > 0 || protecteds > 0 ||
