Appellee having obtained a money judgment against one Robert L. Hunter, issued a garnishment to Washington Terminal Co., Inc., which answered that it held certain money due as wages to Robert L. Hunter. Appellant, Robert L. Hunter, the employee of the Terminal Company, filed his petition under Code 1940, § 15 — 310, claiming said attached credits and alleging that he was not the same person as the judgment debtor, and demanding trial right of property. After some preliminary proceedings and on the day the trial was to be held, ap-pellee entered a praecipe releasing the attached credits. Thereupon appellant moved the court for judgment for his costs against appellee. The motion was denied and this appeal taken.
When a petition for trial right of attached property is filed, a proceeding independent of the main action is commenced with the petitioner as the plaintiff and the attaching party as defendant. The trial court’s rule 49(c) provides that “Except when express provision therefor is made either in a statute or in these rules, costs shall be allowed as of course to the prevailing party.”1 When appellee released the *318attached credits appellant became -the prevailing party and under the court’s rule was entitled to his costs necessarily incurred in the proceeding. The Code section above cited empowers the court in such a proceeding to “make all such orders' as may be necessary to protect any rights of the petitioner.”
Remanded with instructions to enter judgment for appellant for his costs as taxed by the trial court.
. The trial court’s rule is based on Fed. Rules Civ.Proc. rule 54(d), 28 U.S.C.A., but omits the provision of the federal rule “unless' the court otherwise directs.”