Do you have any example of this? All of my tools (and i think Blender 2.79 too - which i'm using myself - though i'm not 100% sure) use lines with the glBegin/glEnd stuff all the time and i do not remember ever having any memory issues (i'm using AMD). Line drawing is much slower than on Nvidia hardware though, but that is another issue.To this day, AMD's official drivers cannot draw lines using 1.x paths without leaking a shittonne of memory.
You can try an old(er) version of Sauerbraten, and then just activate wireframe mode when you're in the map editor.
Newer revisions either use a Core profile (and emulate the glBegin/glEnd with mixed array buffers), or force a GLSL path on AMD's official drivers to work around the issue (and a whole slew of other bugs involving miscompiled shaders and depth issues).
Though I don't think the workaround will trigger anymore, since AMD changed the Vendor string from "ATI" to AMD" after its implementation.