summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7dbab14)
raw | patch | inline | side by side (parent: 7dbab14)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 31 Mar 2014 21:34:58 +0000 (23:34 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 31 Mar 2014 21:34:58 +0000 (23:34 +0200) |
src/frontend/grammar.y | patch | blob | history |
diff --git a/src/frontend/grammar.y b/src/frontend/grammar.y
index 004a5effa1537a29473066103757cd169867c37a..4f7a8913630c547b19c5edc86b4d320804ecd2ec 100644 (file)
--- a/src/frontend/grammar.y
+++ b/src/frontend/grammar.y
conn_fetch_t, conn_fetch_destroy));
CONN_FETCH($$)->name = strdup($2);
$$->cmd = CONNECTION_FETCH;
+ free($2);
+ $2 = NULL;
}
;