##// END OF EJS Templates
chg: check lockfd at freecmdserveropts...
Jun Wu -
r28853:d11548b4 default
parent child Browse files
Show More
@@ -49,6 +49,7 b' static void freecmdserveropts(struct cmd'
49 49 free(opts->args);
50 50 opts->args = NULL;
51 51 opts->argsize = 0;
52 assert(opts->lockfd == -1 && "should be closed by unlockcmdserver()");
52 53 if (opts->sockdirfd != AT_FDCWD) {
53 54 close(opts->sockdirfd);
54 55 opts->sockdirfd = AT_FDCWD;
General Comments 0
You need to be logged in to leave comments. Login now