From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49935 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Help closing a small memory "leak" Date: Sat, 08 Feb 2003 02:42:50 +0100 Organization: http://purl.org/harder/ Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1044670398 12999 80.91.224.249 (8 Feb 2003 02:13:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2003 02:13:18 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hKUW-0003NW-00 for ; Sat, 08 Feb 2003 03:13:16 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18hKW4-00068v-00; Fri, 07 Feb 2003 20:14:52 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Feb 2003 20:15:49 -0600 (CST) Original-Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id UAA23616 for ; Fri, 7 Feb 2003 20:15:43 -0600 (CST) Original-Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.2/8.11.1) id h182EgJ24963 for ding@hpc.uh.edu; Fri, 7 Feb 2003 20:14:42 -0600 Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id TAA23556 for ; Fri, 7 Feb 2003 19:47:01 -0600 (CST) Original-Received: (qmail 79178 invoked by alias); 8 Feb 2003 01:46:00 -0000 Original-Received: (qmail 79172 invoked from network); 8 Feb 2003 01:45:59 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 8 Feb 2003 01:45:59 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18hKBr-0003Kq-00 for ; Sat, 08 Feb 2003 02:53:59 +0100 Original-To: ding@gnus.org Original-Path: localhost.localdomain!nobody Original-Newsgroups: gnus.ding Original-Lines: 22 Original-NNTP-Posting-Host: 0xc3f952e7.esnxr1.ras.tele.dk Original-X-Trace: quimby.gnus.org 1044669239 12823 195.249.82.231 (8 Feb 2003 01:53:59 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 8 Feb 2003 01:53:59 GMT X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r;'s when I noticed. I've fixed the places that I have come across, but there's probably still some cases in parts of the code I don't use. To help find any remaining cases you can install the following hook; use Gnus for a while, and then look if there's any output in the *kill trace* buffer. (defun my-kill-buffer () (when (and (boundp 'gnus-buffers) (member (current-buffer) gnus-buffers)) (let ((standard-output (get-buffer-create "*kill trace*"))) (backtrace)))) (add-hook 'kill-buffer-hook 'my-kill-buffer)