[ Buffers ] Is it bug or is it just me?

From: David Klasinc (bigwhale@CAPYBARA.SK-PTTSC.LJ.EDUS.SI)
Date: 10/06/97


David!


 Hm I've noticed... In that buffers15 patch:

At:

@@ -1393,18 +1493,20 @@ ACMD(do_consider)

There is declaration of *buf
+ char *buf = get_buffer(MAX_INPUT_LENGTH);

and there are few release_buffer()'s

Two of them actually... for Two return()'s there are oneor two more
return()'s and no buffers get released... :)

There is no release_buffer() at the end of the function...

Is this ok? *pondeR*

Banzai!


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST