The mold forms when an area is soggy and wet for awhile. If you had a leak and cleaned it up right away you may not get mold. Mold needs darkness, warmth, still air and moisture to form, and it does take time for mold to grow. If you take steps to remove the moisture, the darkness, the warmth or move the air you can keep mold from forming. I'm assuming you must have done something right.