Don't free mem, we need to wait until the event is processed.
authorsebastid <sebastid>
Wed, 28 Sep 2005 19:46:58 +0000 (19:46 +0000)
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 28 Sep 2005 19:46:58 +0000 (19:46 +0000)
SVN revision: 17046

src/bin/e_ipc_handlers.h

index de1a86644b7eace8591ee76c6f529a8f73071870..cfda580cce830146800e1d9785c4a076459790da 100644 (file)
@@ -948,12 +948,14 @@ break;
         count++;
       }
       END_RESPONSE(r, E_RESPONSE_MODULE_LIST);
+#if 0
       if (r->count)
        {
           for (count = 0; count < r->count; count++)
             free(r->modules[count]);
           free(r->modules);
        }
+#endif
    }
    END_GENERIC();
 #endif
@@ -1491,7 +1493,9 @@ break;
       else if (!strcmp(type, "backgrounds"))
        res = E_RESPONSE_BACKGROUND_DIRS_LIST;
       END_RESPONSE(r, res);
+#if 0
       if (r->dirs) free(r->dirs);
+#endif
    }
    END_GENERIC();
 #endif