struct recptypes now uses dynamically allocated
[citadel.git] / citadel / user_ops.c
index aa1330f1030476419db4c95cc054e6d7b8774bfb..a56fddcbeec0b205a9ed08a551e42edfba31548f 100644 (file)
@@ -405,7 +405,7 @@ int CtdlLoginExistingUser(char *trythisname)
                                if (valid->num_local == 1) {
                                        found_user = getuser(&CC->user, valid->recp_local);
                                }
-                               free(valid);
+                               free_recipients(valid);
                        }
                }
        }