Index: generic/src/mm/frame.c
===================================================================
--- generic/src/mm/frame.c	(revision 052da81d6e492cc87ae6e70a7e8929262d1ceabc)
+++ generic/src/mm/frame.c	(revision 631ca4d04a2284ebd54da4b84fc569fab1e212a4)
@@ -311,5 +311,4 @@
 	}
 	
-
 	if (frame_index_valid(zone, index)) {
 		if (zone->frames[index].buddy_order == frame->buddy_order && 
@@ -470,9 +469,9 @@
 	if (!--frame->refcount) {
 		buddy_system_free(zone->buddy_system, &frame->buddy_link);
-	}
-
-	/* Update zone information. */
-	zone->free_count += (1 << order);
-	zone->busy_count -= (1 << order);
+	
+		/* Update zone information. */
+		zone->free_count += (1 << order);
+		zone->busy_count -= (1 << order);
+	}
 }
 
@@ -601,5 +600,4 @@
 	}
 }
-
 
 /** Reduce allocated block to count of order 0 frames
@@ -709,5 +707,4 @@
 }
 
-
 /**
  * Merge all zones into one big zone
@@ -773,5 +770,4 @@
 }
 
-
 /** Compute configuration data size for zone */
 __address zone_conf_size(count_t count)
@@ -784,5 +780,4 @@
 	return size;
 }
-
 
 /** Create and add zone to system
