]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/govern.c
Fixed a bug.
[libucw.git] / lib / sorter / govern.c
index 745f6b05b1cc95cce0371350959c02b2a4c00baf..ba59a411adaa038bc9b31104dcc43c1aec2b752d 100644 (file)
@@ -212,7 +212,7 @@ sorter_multiway(struct sort_context *ctx, struct sort_bucket *b)
        {
          ASSERT(join->runs == 2);
          join->runs--;
-         sbuck_drop(b);
+         sbuck_drop(p);
        }
       else
        clist_insert_after(&p->n, list_pos);