Index: trunk/magic/remove/src/streaksextern.c
===================================================================
--- trunk/magic/remove/src/streaksextern.c	(revision 20670)
+++ trunk/magic/remove/src/streaksextern.c	(revision 21439)
@@ -55,4 +55,6 @@
 }
 
+static void streaksFree(Streaks *streaks);
+
 /** Read a list of streak equatorial coordinate definitions and width
     from a text file.  The format is:
@@ -84,4 +86,5 @@
         }
         streaks->list = psAlloc (streaks->size * sizeof(streak));
+        psMemSetDeallocator(streaks, (psFreeFunc) streaksFree);
         for (i = 0; i != streaks->size; ++i)
         {
@@ -101,2 +104,7 @@
     return streaks;
 }
+
+static void streaksFree(Streaks *streaks)
+{
+    psFree(streaks->list);
+}
