Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_utmp.c

    r1 r30  
    331331{
    332332  SL_ENTER(_("sh_utmp_endutent"));
    333   (void) fclose(sh_utmpfile);
     333  if (NULL != sh_utmpfile)
     334    (void) fclose(sh_utmpfile);
    334335  sh_utmpfile = NULL;
    335336  SL_RET0(_("sh_utmp_endutent"));
Note: See TracChangeset for help on using the changeset viewer.