patch 8.1.0543: Coverity warns for leaking memory and using wrong struct

Problem:    Coverity warns for leaking memory and using wrong struct.
Solution:   Free pointer when allocation fails. Change "boff" to "loff".
            (closes #3634)
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 31e646d..acccd27 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1378,6 +1378,7 @@
 			    redrawcmd();
 			    goto cmdline_changed;
 			}
+			vim_free(p);
 		    }
 		}
 		beep_flush();