#6 pfree is not NULL safe

closed-fixed
dblink_plus (5)
5
2011-11-02
2011-11-02
No

Different from free, pfree doesn't accept NULL for its input, so we need to ensure that the parameter is not NULL before invocation.

Discussion

  • Shigeru Hanada

    Shigeru Hanada - 2011-11-02
    • status: open --> closed-fixed
     
  • Shigeru Hanada

    Shigeru Hanada - 2011-11-02

    Add non-NULL check before calling pfree.
    See commit 13e4146847e513a3b04afdc2869738c5d2220d76 for details.

     
  • Shigeru Hanada

    Shigeru Hanada - 2011-11-02
    • assigned_to: nobody --> shigeru-hanada