[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subpool not properly destroyed in svnlook/main.c::print_ids_tree()

From: Lele Gaifax <lele_at_seldati.it>
Date: 2002-02-23 15:14:30 CET

While browsing the source, I faced what seems an obvious typo: in the
function print_ids_tree(), there is a double pool_create(), instead of
the usual pool_create()/pool_destroy():

  /* Recursively handle the node's children. */
  subpool = svn_pool_create (pool);
  ...
  while (tmp_node->sibling)
    {
      ...
    }
  svn_pool_create (subpool);

  return;

bye, lele.

-- 
nickname: Lele Gaifax	| Quando vivro' di quello che ho pensato ieri
real: Emanuele Gaifas	| comincero' ad aver paura di chi mi copia.
email: lele@seldati.it	|		-- Fortunato Depero, 1929.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.