Index: wp-admin/includes/post.php
===================================================================
--- wp-admin/includes/post.php	(revision 5942)
+++ wp-admin/includes/post.php	(working copy)
@@ -285,6 +285,9 @@
 	// Create the post.
 	$post_ID = wp_insert_post( $_POST );
 
+	if ( empty($post_ID) )
+		return 0;
+
 	add_meta( $post_ID );
 
 	// Reunite any orphaned attachments with their parent
Index: wp-admin/post.php
===================================================================
--- wp-admin/post.php	(revision 5942)
+++ wp-admin/post.php	(working copy)
@@ -38,6 +38,9 @@
 	if ( isset($_POST['save']) )
 		$location = "post.php?action=edit&post=$post_ID";
 
+	if ( empty($post_ID) )
+		$location = 'post-new.php';
+
 	wp_redirect($location);
 	exit();
 	break;
