about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--vlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vlogger.c b/vlogger.c
index d820991..c886239 100644
--- a/vlogger.c
+++ b/vlogger.c
@@ -94,7 +94,7 @@ main(int argc, char *argv[])
 				*p = '\0';
 			if ((p = strrchr(pwd, '/')) && strncmp(p+1, "log", 3) == 0 &&
 			    (*p = '\0', (p = strrchr(pwd, '/'))) && (*(p+1) != '\0')) {
-				tag = strdup(p+1);
+				tag = p+1;
 			}
 		}
 	}