Whamcloud - gitweb
LU-3097 build: fix 'stray semicolon' errors
[fs/lustre-release.git] / lustre / utils / obd.c
index 1e15a42..3b35a77 100644 (file)
@@ -3566,8 +3566,8 @@ int jt_pool_cmd(int argc, char **argv)
                                 free(array);
                         if (cmds)
                                 free(cmds);
-                        if (ostnames_buf);
-                                free(ostnames_buf);
+                       if (ostnames_buf != NULL)
+                               free(ostnames_buf);
                 }
                 /* fall through */
         }