fchmod (dfd, st.st_mode & 0777);
close (sfd);
- if (pStrDest)
- {
- FREE(pStrDest);
- pStrDest = NULL;
- }
- if (pStrSrc)
- {
- FREE(pStrSrc);
- pStrSrc = NULL;
- }
+ FREE(pStrDest);
+ pStrDest = NULL;
+ FREE(pStrSrc);
+ pStrSrc = NULL;
return 0;
err:
unlink (pStrDest);
}
- if (pStrDest)
- {
- FREE(pStrDest);
- pStrDest = NULL;
- }
- if (pStrSrc)
- {
- FREE(pStrSrc);
- pStrSrc = NULL;
- }
+ FREE(pStrDest);
+ pStrDest = NULL;
+ FREE(pStrSrc);
+ pStrSrc = NULL;
return status;
}
/*--------------------------------------------------------------------------*/