delivered the opinion of the court.
Enrique Plumey, in behalf of his minor son Sergio, brought an action for damages against petitioner, herein as insurer of an automobile, license-plate No. PA-1331; but he failed to join the assured as a defendant. The insurance company moved for the dismissal of the complaint because it did not set up facts sufficient to constitute a cause of action, on the ground that the liability of the insurance company is dependant upon the liability of the assured. The court a quo decided that although the assured was not sued, the complaint against the insurance company was sufficient and denied the motion for dismissal. On reconsideration it held that, pursuant to Rule 21 of the Civil Procedure, the non-joinder or misjoinder of parties was no ground for the dismissal of a complaint. In order to review that decision the insurance company filed this certiorari proceeding.
The proper thing to do in this case was to grant the motion for dismissal of the complaint and, since the latter may be amended by joining the assured as a party defendant, to grant the plaintiff leave to file an amended complaint.
For the reasons stated the decision appealed from is set aside.
1.
Rule 21, in its pertinent part, says:
"Non-joinder or misjoinder of partios is not ground for dismissal of an action. ’ ’