[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memory leak in dir-lookup found
From: |
Roland McGrath |
Subject: |
Re: memory leak in dir-lookup found |
Date: |
Wed, 28 Mar 2001 14:33:16 -0500 (EST) |
Thanks for tracking this down, Marcus. I would be inclined to change the
interface so that make_protid consumes the iouser and callers must use dup.
It is simpler and more concise code just to call dup in the arglist.
Note that make_protid should check for a null pointer and treat it as ENOMEM.