annotate debian/postrm @ 21776:f43ed7e03b06
Fix double free of *http_hdr at server error.
In http.c::http_streaming_start() *http_hdr is allocated
then assigned to stream->streaming_ctrl->data
if server returns error *http_hdr is freed before function returns.
However the copy in ->data remains and is
later freed (again) by network.c::streaming_ctrl_free().
author |
iive |
date |
Sat, 30 Dec 2006 13:23:39 +0000 |
parents |
02309ce6fc22 |
children |
|
rev |
line source |
7214
|
1 #!/bin/sh
|
|
2
|
|
3 set -e
|
|
4
|
|
5 if [ "$1" = "purge" ]; then
|
8908
|
6 if [ -e /usr/share/debconf/confmodule ]; then
|
|
7 # Source debconf library.
|
|
8 . /usr/share/debconf/confmodule
|
|
9 # Remove my changes to the db.
|
|
10 db_purge
|
|
11 fi
|
|
12
|
|
13 if [ -d /etc/mplayer/ ]; then
|
|
14 rm -rf /etc/mplayer/
|
|
15 fi
|
7214
|
16 fi
|
8911
|
17
|
|
18 #DEBHELPER#
|